Skip to content

Commit

Permalink
wp-svn-autopublish action: Pass -m to svn cp (#25790)
Browse files Browse the repository at this point in the history
Seems like this is required.
  • Loading branch information
anomiex authored Aug 23, 2022
1 parent df95e89 commit 4e835c0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,12 @@ fi

if [[ -n "$CI" ]]; then
echo "::group::Creating tag"
svn cp "^/$WPSLUG/trunk" "^/$WPSLUG/tags/$TAG" --no-auth-cache --non-interactive --username "$WPSVN_USERNAME" --password "$WPSVN_PASSWORD"
svn cp "^/$WPSLUG/trunk" "^/$WPSLUG/tags/$TAG" --no-auth-cache --non-interactive --username "$WPSVN_USERNAME" --password "$WPSVN_PASSWORD" -m "Tagging version $TAG"
echo '::endgroup::'
else
echo "----"
echo "Not running in CI, skipping commit"
echo " svn cp \"^/$WPSLUG/trunk\" \"^/$WPSLUG/tags/$TAG\" --no-auth-cache --non-interactive --username \"\$WPSVN_USERNAME\" --password \"\$WPSVN_PASSWORD\""
echo " svn cp \"^/$WPSLUG/trunk\" \"^/$WPSLUG/tags/$TAG\" --no-auth-cache --non-interactive --username \"\$WPSVN_USERNAME\" --password \"\$WPSVN_PASSWORD\" -m \"Tagging version $TAG\""
echo "----"
fi

Expand Down

0 comments on commit 4e835c0

Please sign in to comment.