Skip to content

Commit

Permalink
fix(Jack): fix semantic release build_command
Browse files Browse the repository at this point in the history
Signed-off-by: Jack Deng <dlwxxxdlw@gmail.com>
  • Loading branch information
JackTheMico committed Aug 26, 2022
1 parent b1697c1 commit 9a0686e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@ name: Semantic Release

on:
workflow_dispatch:
push:
workflow_run:
workflows:
- Codecov
branches:
- main
pull_request_review:
types:
- submitted
- completed

jobs:
release:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Check out
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Python Semantic Release
uses: relekang/python-semantic-release@master
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ include = ["LICENSE"]
version_toml = "pyproject.toml:tool.poetry.version"
version_source = "tag"
branch = "main"
build_command = "poetry build"
upload_to_release = true

[tool.poetry.dependencies]
python = "^3.7.2"
Expand Down

0 comments on commit 9a0686e

Please sign in to comment.