Skip to content

Commit

Permalink
ci(release): use action to create tag
Browse files Browse the repository at this point in the history
  • Loading branch information
smallTrogdor committed Dec 13, 2024
1 parent 460ca77 commit 5e691a8
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/github-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,12 @@ jobs:
id: read-changelog
uses: mindsers/[email protected]

- run: git config --global user.email "914587+sbb-app-bakery[bot]@users.noreply.github.com"
- run: git config --global user.name "sbb-app-bakery[bot]"
- run: git tag -a ${{ steps.read-changelog.outputs.version }} -m "Version Release ${{ steps.read-changelog.outputs.version }} on ${{ steps.read-changelog.outputs.date }}"
- run: git push --follow-tags
- name: Create release tag
uses: rickstaa/[email protected]
with:
github_token: ${{ steps.app-token.outputs.token }}
tag: ${{ steps.read-changelog.outputs.version }}
message: "Version Release ${{ steps.read-changelog.outputs.version }} on ${{ steps.read-changelog.outputs.date }}"

create-github-release:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 5e691a8

Please sign in to comment.