Skip to content

Commit

Permalink
Rename post-release workflow and remove tagging workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
NQuinn27 committed Oct 3, 2023
1 parent f55f27c commit 80ca16f
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@ jobs:
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
token: ${{ secrets.RELEASE_ACCESS_TOKEN }}
- name: Install cz
run: pip install --user -U Commitizen
- name: Record release version
run: |
echo "RELEASE_VERSION=$(cz version --project)" >> $GITHUB_ENV
- name: Tag release
uses: tvdias/[email protected]
with:
repo-token: ${{ secrets.RELEASE_ACCESS_TOKEN }}
tag: ${{ env.RELEASE_VERSION }}
run: |
git tag $RELEASE_VERSION
git push origin $RELEASE_VERSION
- name: Create a Release
uses: elgohr/Github-Release-Action@v4
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_ACCESS_TOKEN }}
with:
title: ${{ env.RELEASE_VERSION }}
title: Release ${{ env.RELEASE_VERSION }}

0 comments on commit 80ca16f

Please sign in to comment.