Radish alpha
h
rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
Radicle Heartwood Protocol & Stack
Radicle
Git
build/release: missed updating the symlink
Merged fintohaps opened 7 months ago
1 file changed +2 -2 01f9f3fc 8bc578bf
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 ;;