Skip to content

Commit

Permalink
toggle release on tags
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyfast committed Oct 3, 2022
1 parent dbd578b commit b4e9c20
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ jobs:
run: hatch build
- name: Publish package
run: hatch publish -r test --user ${{secrets.HATCH_INDEX_USER}} --auth ${{secrets.HATCH_TEST_INDEX_AUTH}}
if: github.event_name == 'tag'
- name: Test the released packaged
run: hatch run released:test
if: github.event_name == 'tag'
- name: Publish to mainline
run: hatch publish
if: github.event_name == 'release'

0 comments on commit b4e9c20

Please sign in to comment.