Skip to content

Commit

Permalink
ci: Updated release action
Browse files Browse the repository at this point in the history
Added build command and forced patch version
  • Loading branch information
mike-pisman committed Sep 17, 2023
1 parent f912c06 commit 08ede08
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,8 @@ jobs:
uses: python-semantic-release/python-semantic-release@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Print out the latest git tag
run: |
git tag
- name: Build Package
run: |
python -m build
force: "patch"
build_command: "python -m pip install build && python -m build"
- name: Publish package to GitHub Release
uses: python-semantic-release/upload-to-gh-release@main
if: ${{ steps.release.outputs.released }} == 'true'
Expand Down

0 comments on commit 08ede08

Please sign in to comment.