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

Verified

This commit was signed with the committer’s verified signature.
miguelgrinberg Miguel Grinberg
1 parent 3ad2b44 commit d80857e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/update-latest-symlink.bash
Original file line number Diff line number Diff line change
@@ -9,11 +9,12 @@ main () {
echo "$#: Wrong number of arguments"
return 1
fi

local target="x86_64-unknown-linux-musl"
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 github-actions@files.radicle.xyz ln -snf "/mnt/radicle/releases/${sha}" "/mnt/radicle/releases/latest"
ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i ssh-private-key github-actions@files.radicle.xyz "/mnt/radicle/releases/${sha}/${target}/rad version --json > /mnt/radicle/releases/${sha}/version.json"
# ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i ssh-private-key github-actions@files.radicle.xyz ln -snf "/mnt/radicle/releases/${sha}" "/mnt/radicle/releases/latest"
}

main "$@"

0 comments on commit d80857e

Please sign in to comment.