Skip to content

Commit

Permalink
workflows tag latest release
Browse files Browse the repository at this point in the history
  • Loading branch information
liquidcarbon authored Sep 4, 2024
1 parent 5fdc615 commit 438d533
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,15 @@ jobs:

- name: Create a Release
run: |
gh --version
RELEASE_DATE=$(date +'%Y-%m-%d')
gh release create "v${RELEASE_DATE}" dist/affinity-*.whl --title "Release ${RELEASE_DATE}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Add latest tag
run: |
git tag -f latest
git push origin latest --force
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 438d533

Please sign in to comment.