Skip to content

Commit

Permalink
removed 'v' from version strings (#626)
Browse files Browse the repository at this point in the history
  • Loading branch information
bryce-b authored Oct 29, 2024
1 parent 187ac7e commit 8da9ef4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/Create-Release-PR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ jobs:
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.RELEASE_TOKEN }}
branch: release/v${{inputs.new_version}}
commit-message: 'Release v${{inputs.new_version}}'
title: 'Release v${{inputs.new_version}}'
branch: release/${{inputs.new_version}}
commit-message: 'Release ${{inputs.new_version}}'
title: 'Release ${{inputs.new_version}}'
delete-branch: true
body: >
This PR is auto-generated by
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/PR-Release-Warning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: check branch name
id: check-release
run: |
if [[ ${{ github.head_ref }} =~ ^release/(v[0-9]+\.[0-9]+\.[0-9]+$) ]]; then
if [[ ${{ github.head_ref }} =~ ^release/([0-9]+\.[0-9]+\.[0-9]+$) ]]; then
echo "match=true" >> $GITHUB_OUTPUT
fi
- name: add comment if PR is release
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/Tag-And-Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Check if merge is release branch
id: check-release
run: |
if [[ ${{ github.head_ref }} =~ ^release/(v[0-9]+\.[0-9]+\.[0-9]+$) ]]; then
if [[ ${{ github.head_ref }} =~ ^release/([0-9]+\.[0-9]+\.[0-9]+$) ]]; then
echo "match=true" >> $GITHUB_OUTPUT
echo "version=${BASH_REMATCH[1]}" >> $GITHUB_OUTPUT
fi
Expand All @@ -26,9 +26,9 @@ jobs:
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: version bump to ${{ steps.check-release.outputs.version }}
tagging_message: 'v${{ steps.check-release.outputs.version }}'
tagging_message: '${{ steps.check-release.outputs.version }}'
- uses: ncipollo/release-action@v1
with:
tag: v${{ steps.check-release.outputs.version }}
tag: ${{ steps.check-release.outputs.version }}
prerelease: true
generateReleaseNotes: true

0 comments on commit 8da9ef4

Please sign in to comment.