Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removed 'v' from version strings #626

Merged
merged 1 commit into from
Oct 29, 2024
Merged
Show file tree
Hide file tree
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: 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
Loading