Skip to content

Commit

Permalink
partially commit just app/core to trunk
Browse files Browse the repository at this point in the history
  • Loading branch information
diosmosis committed Feb 5, 2024
1 parent e3aba8f commit cf4ead6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: matomoteam
Tags: matomo,piwik,analytics,statistics,stats,tracking,ecommerce
Requires at least: 4.8
Tested up to: 6.4.3
Stable tag: 5.0.1
Stable tag: 4.15.3
Requires PHP: 7.2.5
License: GPLv3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Expand Down
6 changes: 3 additions & 3 deletions scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ cd "$SVN_DIR"

# Copy from clean copy to /trunk, excluding dotorg assets
# The --delete flag will delete anything in destination that no longer exists in source
rsync -rc "$TMP_DIR/" trunk/ --delete --delete-excluded
rsync -rc "$TMP_DIR/app/core" trunk/app/core --delete --delete-excluded

# Copy dotorg assets to /assets
rsync -rc "$GITHUB_WORKSPACE/$ASSETS_DIR/" assets/ --delete --delete-excluded
Expand All @@ -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 @@ -131,6 +131,6 @@ echo "➤ svn status..."
svn status

echo "➤ Committing files..."
svn commit -m "Update to version $VERSION from GitHub" --no-auth-cache --non-interactive --username "$SVN_USERNAME" --password "$SVN_PASSWORD"
svn commit -m "Partially update to version $VERSION from GitHub (app/core only)" --no-auth-cache --non-interactive --username "$SVN_USERNAME" --password "$SVN_PASSWORD"

echo "✓ Plugin deployed!"

0 comments on commit cf4ead6

Please sign in to comment.