Skip to content

Commit

Permalink
Update version numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
NivekT committed Mar 15, 2024
1 parent 7f47fd8 commit 5fef896
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
project = "prompttools"
copyright = "2023, Hegel AI"
author = "Hegel AI"
release = "0.0.45"
release = "0.0.46"

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
Expand Down
4 changes: 2 additions & 2 deletions prompttools/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = '0.0.45a0+6151062'
git_version = '6151062e36d63229b66d1c4193f0173ad022502d'
__version__ = "0.0.46a0+5a80732"
git_version = "5a807328435d269d7ed17b53f86283e116e08244"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "prompttools"
version = "0.0.45"
version = "0.0.46"
authors = [
{ name="Hegel AI", email="[email protected]" },
]
Expand Down
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ def _get_requirements():

def _get_version():
"""Get package version."""
with open(os.path.join(ROOT_DIR, "version.txt")) as f:
version = f.readline().strip()
# with open(os.path.join(ROOT_DIR, "version.txt")) as f:
# version = f.readline().strip()
version = "0.0.46a0"

sha = "Unknown"
try:
Expand Down Expand Up @@ -82,7 +83,7 @@ def remove_extension(pattern):
if __name__ == "__main__":
VERSION, SHA = _get_version()
# TODO: Exporting the version here breaks `python -m build`
_export_version(VERSION, SHA)
# _export_version(VERSION, SHA)

print("-- Building version " + VERSION)

Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.45a0
0.0.46a0

0 comments on commit 5fef896

Please sign in to comment.