Skip to content

Commit 8da9ef4

Browse files
authored
removed 'v' from version strings (#626)
1 parent 187ac7e commit 8da9ef4

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/Create-Release-PR.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ jobs:
3737
uses: peter-evans/create-pull-request@v7
3838
with:
3939
token: ${{ secrets.RELEASE_TOKEN }}
40-
branch: release/v${{inputs.new_version}}
41-
commit-message: 'Release v${{inputs.new_version}}'
42-
title: 'Release v${{inputs.new_version}}'
40+
branch: release/${{inputs.new_version}}
41+
commit-message: 'Release ${{inputs.new_version}}'
42+
title: 'Release ${{inputs.new_version}}'
4343
delete-branch: true
4444
body: >
4545
This PR is auto-generated by

.github/workflows/PR-Release-Warning.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: check branch name
1515
id: check-release
1616
run: |
17-
if [[ ${{ github.head_ref }} =~ ^release/(v[0-9]+\.[0-9]+\.[0-9]+$) ]]; then
17+
if [[ ${{ github.head_ref }} =~ ^release/([0-9]+\.[0-9]+\.[0-9]+$) ]]; then
1818
echo "match=true" >> $GITHUB_OUTPUT
1919
fi
2020
- name: add comment if PR is release

.github/workflows/Tag-And-Release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: Check if merge is release branch
1313
id: check-release
1414
run: |
15-
if [[ ${{ github.head_ref }} =~ ^release/(v[0-9]+\.[0-9]+\.[0-9]+$) ]]; then
15+
if [[ ${{ github.head_ref }} =~ ^release/([0-9]+\.[0-9]+\.[0-9]+$) ]]; then
1616
echo "match=true" >> $GITHUB_OUTPUT
1717
echo "version=${BASH_REMATCH[1]}" >> $GITHUB_OUTPUT
1818
fi
@@ -26,9 +26,9 @@ jobs:
2626
- uses: stefanzweifel/git-auto-commit-action@v5
2727
with:
2828
commit_message: version bump to ${{ steps.check-release.outputs.version }}
29-
tagging_message: 'v${{ steps.check-release.outputs.version }}'
29+
tagging_message: '${{ steps.check-release.outputs.version }}'
3030
- uses: ncipollo/release-action@v1
3131
with:
32-
tag: v${{ steps.check-release.outputs.version }}
32+
tag: ${{ steps.check-release.outputs.version }}
3333
prerelease: true
3434
generateReleaseNotes: true

0 commit comments

Comments
 (0)