Skip to content

Commit

Permalink
Merge pull request #3 from ryanlinjui/0.1.x
Browse files Browse the repository at this point in the history
Release 0.1.2 version
  • Loading branch information
ryanlinjui authored Aug 14, 2024
2 parents ad4f940 + b3925a2 commit c0d775c
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .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 @@ -21,13 +21,14 @@ jobs:
uses: JRubics/poetry-publish@v2.0
with:
pypi_token: ${{ secrets.PIPY_API_TOKEN }}
poetry_publish_options: "--skip-existing"

- name: Create Release
uses: actions/create-release@v1
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
name: ${{ github.ref_name }}
tag_name: ${{ github.ref_name }}
files: ./dist/*
make_latest: true
body: |
This is a release for the version ${{ github.ref }}.
PyPI package: https://pypi.org/project/${{ github.repository }}/${{ github.ref }}
This is a release for the version ${{ github.ref_name }}.
PyPI package: https://pypi.org/project/${{ github.event.repository.name }}/${{ github.ref_name }}

0 comments on commit c0d775c

Please sign in to comment.