Skip to content

Commit

Permalink
fix(release): fix version change
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorhakes committed Sep 16, 2023
1 parent debb387 commit d434cb6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,24 @@ jobs:
concurrency: release
permissions:
id-token: write
contents: write
environment: production
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
token: ${{ secrets.GH_TOKEN }}

- uses: actions/setup-python@v4
with:
python-version: "3.x"

- name: deps
run: python -m pip install -U build

- name: build
run: python -m build

- name: Python Semantic Release
id: semantic_release
uses: taylorhakes/python-semantic-release@master
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ requires = [
build-backend = "setuptools.build_meta"

[tool.semantic_release]
version_variable = "setup.py:__version__"
version_variables = ["setup.py:__version__"]
branch = "master"

0 comments on commit d434cb6

Please sign in to comment.