Skip to content

Commit

Permalink
Merge branch 'develop' into live
Browse files Browse the repository at this point in the history
  • Loading branch information
diosmosis committed Feb 5, 2024
2 parents edfdbb7 + 96cc78b commit e3aba8f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ svn status | grep '^\!' | sed 's/! *//' | xargs -I% svn rm %@ > /dev/null

# Copy tag locally to make this a single commit
# echo "➤ Copying tag..."
# svn cp "trunk" "tags/$VERSION"
svn cp "trunk" "tags/$VERSION"

# Fix screenshots getting force downloaded when clicking them
# https://developer.wordpress.org/plugins/wordpress-org/plugin-assets/
Expand All @@ -126,11 +126,11 @@ fi
if test -d "assets" && test -n "$(find "assets" -maxdepth 1 -name "*.svg" -print -quit)"; then
svn propset svn:mime-type image/png assets/*.svg || true
fi
# svn status

echo "➤ svn status..."
svn status

echo "➤ Committing files..."
if ! svn commit -m "Update to version $VERSION from GitHub" --no-auth-cache --non-interactive --username "$SVN_USERNAME" --password "$SVN_PASSWORD"; then
svn commit -m "Update to version $VERSION from GitHub" --no-auth-cache --non-interactive --username "$SVN_USERNAME" --password "$SVN_PASSWORD"
fi
svn commit -m "Update to version $VERSION from GitHub" --no-auth-cache --non-interactive --username "$SVN_USERNAME" --password "$SVN_PASSWORD"

echo "✓ Plugin deployed!"

0 comments on commit e3aba8f

Please sign in to comment.