From 8afd55ff6f46c404d40ca75a80c962f15203b9e4 Mon Sep 17 00:00:00 2001 From: Fintan Halpenny Date: Tue, 16 Sep 2025 16:05:07 +0100 Subject: [PATCH] build: update release files location The destination of the release files was moved, so this patch updates that location. --- build/release | 3 ++- build/upload | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build/release b/build/release index c6d44394..153bb3b8 100755 --- a/build/release +++ b/build/release @@ -12,6 +12,7 @@ SSH_KEY="$(rad path)/keys/radicle" main() { version="$1" + destination="/var/www/files.radicle.xyz/releases/$version" if [ -z "$version" ]; then echo "fatal: empty version number" >&2 ; exit 1 @@ -28,7 +29,7 @@ main() { case "$confirmation" in [Yy]*) echo "Creating 'latest' symlink.." - ssh -i "$SSH_KEY" "$SSH_ADDRESS" ln -snf "/mnt/radicle/files/releases/$version" /mnt/radicle/files/releases/latest ;; + ssh -i "$SSH_KEY" "$SSH_ADDRESS" ln -snf "$destination/$version" /mnt/radicle/files/releases/latest ;; *) echo "Operation aborted." exit 1 ;; diff --git a/build/upload b/build/upload index acfeff6d..f6e6c222 100755 --- a/build/upload +++ b/build/upload @@ -17,7 +17,7 @@ main() { echo "fatal: empty version number" >&2 ; exit 1 fi - destination="/mnt/radicle/files/releases/$version" + destination="/var/www/files.radicle.xyz/releases/$version" # Create remote folder. ssh -i "$SSH_KEY" "$SSH_ADDRESS" mkdir -p "$destination" @@ -52,7 +52,6 @@ main() { fi done < build/TARGETS - # TODO(cloudhead): Don't pass `--tags` when we have canonical refs. # Pushes tags without assuming the remote the user is using. It does this by # using the pushurl directly, i.e. # `rad://z3gqcJUoA1n9HaHKufZs5FCSGazv5/`, where `` is the local Node