Skip to content

Commit

Permalink
fix: poetry-dynamic-versioning (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
DariuszPorowski authored May 16, 2023
1 parent 33df6c7 commit 3d607a9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/release-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,13 @@ jobs:
schema*.json
# https://docs.github.com/en/rest/releases/releases#update-a-release
- name: Mark as latest
uses: octokit/request-action@v2.1.7
id: set_release_make_latest
with:
route: PATCH /repos/{repo}/releases/{release_id}
repo: ${{ github.repository }}
release_id: ${{ steps.gh-release.outputs.id }}
make_latest: true
env:
GITHUB_TOKEN: ${{ github.token }}
# - name: Mark as latest
# uses: octokit/request-action@v2.1.7
# id: set_release_make_latest
# with:
# route: PATCH /repos/{repo}/releases/{release_id}
# repo: ${{ github.repository }}
# release_id: ${{ steps.gh-release.outputs.id }}
# make_latest: true
# env:
# GITHUB_TOKEN: ${{ github.token }}
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ pyupgrade = "^3.4.0"

[tool.poetry-dynamic-versioning]
# https://github.com/mtkennerly/poetry-dynamic-versioning#configuration
enable = false
enable = true
style = "semver"
vcs = "git"
bump = true
Expand Down

0 comments on commit 3d607a9

Please sign in to comment.