We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36d632d commit c6844baCopy full SHA for c6844ba
.github/workflows/release.yml
@@ -34,12 +34,13 @@ jobs:
34
- uses: actions/checkout@v4
35
- name: Extract version to be released
36
id: get-version
37
+ env:
38
+ PR_TITLE: ${{ github.event.pull_request.title }}
39
run: |
40
if [ "${{ github.event_name }}" == "workflow_dispatch" ]; then
41
echo "version=${{ github.event.inputs.version }}" >> "$GITHUB_OUTPUT"
42
else
- TITLE="${{ github.event.pull_request.title }}"
- echo "version=${TITLE/: [[:alnum:]]*}" >> "$GITHUB_OUTPUT"
43
+ echo "version=${PR_TITLE/: [[:alnum:]]*}" >> "$GITHUB_OUTPUT"
44
fi
45
- name: Bump version and push tag
46
uses: mathieudutour/[email protected]
0 commit comments