Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/wordpress-org-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -298,11 +298,13 @@ jobs:

# WordPress.org SVN doesn't support SSH keys or tokens.
# Keeping credentials as step-level env vars with --no-auth-cache is the best available option.
# The password is piped via stdin, so it never shows up in the process list (argv).
# printf must stay the bash builtin, and set -x must not be enabled in this step.
echo '🚀 Committing...'

svn commit "${COMMIT_PATHS[@]}" \
printf '%s' "$SVN_PASSWORD" | svn commit "${COMMIT_PATHS[@]}" \
--username "$SVN_USERNAME" \
--password "$SVN_PASSWORD" \
--password-from-stdin \
--no-auth-cache \
--non-interactive \
-m "$COMMIT_MESSAGE"
Expand Down
Loading