Skip to content

Commit

Permalink
automatating releases from the repository
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyfast committed Oct 3, 2022
1 parent b4e9c20 commit 90105a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +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'
if: github.event_name == 'tags'
- name: Test the released packaged
run: hatch run released:test
if: github.event_name == 'tag'
if: github.event_name == 'tags'
- name: Publish to mainline
run: hatch publish
if: github.event_name == 'release'

0 comments on commit 90105a4

Please sign in to comment.