Skip to content

Commit

Permalink
Fix spaces #patch
Browse files Browse the repository at this point in the history
  • Loading branch information
harleymckenzie committed Mar 1, 2024
1 parent 4e7d489 commit 4965a2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/increase-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
# Get commit messages since last release in bullet point format
PREVIOUS_TAG=${{ steps.get_current_tag.outputs.current_tag }}
SETUP_PY_MESSAGE=${{ steps.update_setup_py_version.outputs.setup_py_message }}
COMMIT_MESSAGES=$(git log --pretty=format:"- %s" "${PREVIOUS_TAG}..HEAD" | grep -vE "#patch|#minor|#major"| grep -vE ${SETUP_PY_MESSAGE})
COMMIT_MESSAGES=$(git log --pretty=format:"- %s" "${PREVIOUS_TAG}..HEAD" | grep -vE "#patch|#minor|#major"| grep -vE "${SETUP_PY_MESSAGE}")
# URL encode newlines to %0A for GitHub Actions output compatibility
COMMIT_MESSAGES="${COMMIT_MESSAGES//$'\n'/%0A}"
# Prepend header to the commit messages, URL encoding the newlines
Expand Down

0 comments on commit 4965a2a

Please sign in to comment.