Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Commit

Permalink
ci: Add version file to binary release
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudhead committed Mar 12, 2024
1 parent 3ad2b44 commit ab13ebf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/update-latest-symlink.bash
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ main () {
local sha=$1
echo "$SSH_PRIVATE_KEY" >ssh-private-key
chmod go-rwx ssh-private-key
ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i ssh-private-key [email protected] ln -snf "/mnt/radicle/releases/${sha}" "/mnt/radicle/releases/latest"
ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i ssh-private-key [email protected] "/mnt/radicle/releases/${sha}/rad version --json > /mnt/radicle/releases/${sha}/version.json"
# ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i ssh-private-key [email protected] ln -snf "/mnt/radicle/releases/${sha}" "/mnt/radicle/releases/latest"
}

main "$@"

0 comments on commit ab13ebf

Please sign in to comment.