Skip to content

Commit

Permalink
ci: workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
leocov-dev committed Oct 12, 2024
1 parent 50561f7 commit 06c66f7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,9 @@ jobs:

- name: Python Semantic Release
id: semantic
uses: python-semantic-release/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
build: false
tag: true
vcs_release: true
changelog: false
run: pipx run hatch run semantic-release version --no-changelog
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Create Build
run: pipx run hatch build -t wheel --clean
Expand All @@ -47,9 +43,9 @@ jobs:
inputs: ./dist/*

- name: Python Semantic Release - Publish
uses: python-semantic-release/publish[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
run: pipx run hatch run semantic-release publish
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# -------------
pypi:
Expand Down
3 changes: 0 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@ pyside-app = "pyside_app_build.hooks"
[tool.semantic_release]
tag_format = "{version}"

[tool.semantic_release.remote.token]
env = "GITHUB_TOKEN"

# default ---------------------------------------------------------------
[tool.hatch.envs.default]
type = "virtual"
Expand Down

0 comments on commit 06c66f7

Please sign in to comment.