Skip to content

Commit

Permalink
Release v0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jslorrma committed Aug 25, 2024
1 parent a86110a commit 0792dfc
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
9 changes: 6 additions & 3 deletions pixi.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ cmd = "pre-commit run --all-files"
[tool.pixi.feature.dev.tasks.bump-version]
# Bump the project version using Hatch
# Usage: pixi run -e dev bump-version [patch|minor|major],[dev]
cmd = "pixi exec hatch version"
cmd = "pixi exec hatch version $segment"

[tool.pixi.feature.dev.tasks.build-sdist]
# Build the source distribution (sdist) using Hatch
Expand Down Expand Up @@ -130,10 +130,11 @@ outputs = ["dist/*.whl", "dist/*.tar.gz"]
# Release the project to PyPI using Hatch
# Usage: pixi run -e dev release
cmd = """version=$(pixi exec hatch version) \
&& git add pyproject.toml src/keyrings_artifacts/_version.py \
&& pixi update \
&& git add pixi.lock pyproject.toml src/keyrings_artifacts/_version.py \
&& git commit -m "Release v$version" \
&& git tag -a v$version -m 'Release v$version' \
&& git push origin v$version
&& git push origin v$version
"""

[tool.pixi.feature.dev.tasks.requirements-export]
Expand Down
2 changes: 1 addition & 1 deletion src/keyrings_artifacts/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
__version_tuple__: VERSION_TUPLE
version_tuple: VERSION_TUPLE

__version__ = "0.3.2" # version string
__version__ = "0.4.0" # version string
vesion = __version__
__version_tuple__ = version_tuple = tuple(int(n) for n in __version__.split(".") if n.isdigit())

0 comments on commit 0792dfc

Please sign in to comment.