Skip to content

Commit

Permalink
chore: automate to create release
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanlinjui committed Aug 14, 2024
1 parent 8f9373f commit 772a105
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Publish to PyPI
on:
push:
tags:
- '*'
- '*.*.*'
jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -24,7 +24,10 @@ jobs:
poetry_publish_options: "--skip-existing"

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
Expand Down

0 comments on commit 772a105

Please sign in to comment.