Skip to content

Commit

Permalink
debugging deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
diosmosis committed Jun 18, 2024
1 parent f37e8eb commit 8a2c08f
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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..."
Expand Down

0 comments on commit 8a2c08f

Please sign in to comment.