Skip to content

Commit

Permalink
feat: tag most recently released commit as 'latest' (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
nayib-jose-gloria authored Apr 1, 2024
1 parent f0066a5 commit 2e9d483
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,17 @@ jobs:
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: api/python/dist

tag-latest-release:
runs-on: [ubuntu-latest]
needs: publish-pypi-package
steps:
- name: Checkout main branch
uses: actions/checkout@v4
with:
ref: main
fetch-depth: 0
- name: Reassign 'latest' tag
run: |
git tag -f latest
git push origin latest

0 comments on commit 2e9d483

Please sign in to comment.