Skip to content

Commit

Permalink
Use version_scheme: only-version
Browse files Browse the repository at this point in the history
  • Loading branch information
janbjorge committed Jan 19, 2025
1 parent c797690 commit e005601
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Publish Python distribution to PyPI

on:
release:
types: [released]
types: [created]

jobs:
publish-pypi-package:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -161,3 +161,4 @@ cython_debug/

# PGQueuer
pgqueuer/_version.py
pgqueuer/_version.py
4 changes: 2 additions & 2 deletions pgqueuer/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
__version_tuple__: VERSION_TUPLE
version_tuple: VERSION_TUPLE

__version__ = version = '0.18.9.dev2+g1ef43ff.d20250119'
__version_tuple__ = version_tuple = (0, 18, 9, 'dev2', 'g1ef43ff.d20250119')
__version__ = version = '0.18.8'
__version_tuple__ = version_tuple = (0, 18, 8)
7 changes: 4 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ requires = ["setuptools>=64", "setuptools_scm>=8", "wheel"]
packages = ["pgqueuer"]

[tool.setuptools_scm]
write_to = "pgqueuer/_version.py"
version_scheme = "guess-next-dev"
local_scheme = "no-local-version"
version_scheme= "only-version"
local_scheme= "no-local-version"
write_to= "pgqueuer/_version.py"


[project]
name = "pgqueuer"
Expand Down

0 comments on commit e005601

Please sign in to comment.