✨ chore: update version retrieval method and configure version file

Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
This commit is contained in:
Mohammed Naser committed 2025-06-03 19:43:15 +00:00
1 parent ffb70cebcb
commit d4f300d53d
3 files changed
+5 -1

No files matched your search

+1
View File
@@ -26,6 +26,7 @@ collections/
*.egg-info
CHANGELOG.rst
target
atmosphere/_version.py
## Editors
.idea
+1 -1
View File
@@ -3,7 +3,7 @@
set -xe
ATMOSPHERE_VERSION=$(pbr info -s atmosphere)
ATMOSPHERE_VERSION=$(python3 -c "from atmosphere._version import __version__; print(__version__)")
# Create work directory
TMPDIR=$(mktemp -d)
+3
View File
@@ -48,3 +48,6 @@ issues = "https://github.com/vexxhost/atmosphere/issues"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "atmosphere/_version.py"