Skip to content
Merged
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
4 changes: 3 additions & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@ jobs:
steps:
- name: Checkout the repository and the branch
uses: actions/checkout@v5
with:
token: ${{ secrets.PAT_TOKEN }}

- name: Setup the release version and overwrite the existing major version tag
run: |
major_version=$(echo $GITHUB_REF_NAME | cut -d. -f1)
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git tag -fa $major_version -m "Update $major_version tag and add version $GITHUB_REF_NAME to it"
git push origin $major_version --force
git push origin $major_version --force