From 8a2c08f5ec1897caa7a3399d00027ede2336ae99 Mon Sep 17 00:00:00 2001 From: diosmosis Date: Mon, 17 Jun 2024 23:51:04 -0700 Subject: [PATCH] debugging deploy script --- scripts/deploy.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/scripts/deploy.sh b/scripts/deploy.sh index ed27c0646..345feec6e 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -109,7 +109,7 @@ for chunk in ${PIECES[@]}; do # The force flag ensures we recurse into subdirectories even if they are already added # Suppress stdout in favor of svn status later for readability echo "➤ Preparing files ($chunk)..." - svn add "trunk/$chunk" --force > /dev/null + svn add "trunk/$chunk" --force # > /dev/null # SVN delete all deleted files # Also suppress stdout here @@ -139,6 +139,16 @@ done # Copy tag locally in another commit echo "➤ Copying tag..." +echo "DISABLED" +exit + +if [[ -d "tags/$VERSION" ]]; then + svn rm "tags/$VERSION" + + echo "➤ Deleting existing tag..." + svn commit -m "Deleting existing $VERSION for replacement" --no-auth-cache --non-interactive --username "$SVN_USERNAME" --password "$SVN_PASSWORD" +fi + svn cp "trunk" "tags/$VERSION" echo "➤ svn status..."