build/release: missed updating the symlink

This commit is contained in:
Fintan Halpenny 2025-09-30 12:21:28 +01:00 committed by Lorenz Leutgeb
parent 01f9f3fcd4
commit 8bc578bfa8
1 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ SSH_KEY="$(rad path)/keys/radicle"
main() {
version="$1"
destination="/var/www/files.radicle.xyz/releases/$version"
destination="/var/www/files.radicle.xyz/releases"
if [ -z "$version" ]; then
echo "fatal: empty version number" >&2 ; exit 1
@ -29,7 +29,7 @@ main() {
case "$confirmation" in
[Yy]*)
echo "Creating 'latest' symlink.."
ssh -i "$SSH_KEY" "$SSH_ADDRESS" ln -snf "$destination/$version" /mnt/radicle/files/releases/latest ;;
ssh -i "$SSH_KEY" "$SSH_ADDRESS" ln -snf "$destination/$version" "$destination/latest" ;;
*)
echo "Operation aborted."
exit 1 ;;