Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
build/release: missed updating the symlink
✗ CI failure Fintan Halpenny committed 7 months ago
commit da2158daa1e7f1625d5bc19e5edb3b91e08c3810
parent 80bc95269b11615e1dd0f6d216f5dfec525f0f62
1 failed (1 total) View logs
1 file changed +2 -2
modified build/release
@@ -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 ;;