Skip to content

Commit

Permalink
refactor: Finalize release pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
aiakide committed Jul 22, 2024
1 parent 55bef0a commit df99370
Show file tree
Hide file tree
Showing 3 changed files with 336 additions and 302 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pre-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@ on:
branches:
- develop
types:
- opened
- synchronize
- closed
permissions:
contents: write

jobs:
release:
#if: ${{ github.event.pull_request.merged }}
if: ${{ github.event.pull_request.merged }}
name: 🏗️ Build package and publish to pypi
runs-on: ubuntu-latest
concurrency: release
Expand Down Expand Up @@ -43,7 +44,6 @@ jobs:
uses: python-semantic-release/[email protected]
with:
github_token: ${{ secrets.RELEASE_WORKFLOW }}
prerelease: 'true'

- name: 🐍 Publish package distributions to PyPI
uses: pypa/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
poetry install --no-interaction --no-ansi --with dev
- name: 🚀 Python Semantic Release
id: release
uses: python-semantic-release/python-semantic-release@v8.7.0
uses: python-semantic-release/python-semantic-release@v8.3.0
with:
github_token: ${{ secrets.RELEASE_WORKFLOW }}

Expand Down
Loading

0 comments on commit df99370

Please sign in to comment.