Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3a47378dc1 | ||
|
09c240089f
|
2
hello.py
2
hello.py
@@ -6,7 +6,7 @@ def main():
|
|||||||
def get_version():
|
def get_version():
|
||||||
with open(".version") as f:
|
with open(".version") as f:
|
||||||
return f.read().strip()
|
return f.read().strip()
|
||||||
|
print("Version file not found. Returning default version '0.0.0'.")
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "workflowbumptester"
|
name = "workflowbumptester"
|
||||||
version = "1.0.0"
|
version = "1.0.1"
|
||||||
description = "Add your description here"
|
description = "Add your description here"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.13"
|
requires-python = ">=3.13"
|
||||||
@@ -10,7 +10,7 @@ dependencies = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
[tool.bumpversion]
|
[tool.bumpversion]
|
||||||
current_version = "1.0.0"
|
current_version = "1.0.1"
|
||||||
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
|
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
|
||||||
serialize = ["{major}.{minor}.{patch}"]
|
serialize = ["{major}.{minor}.{patch}"]
|
||||||
search = "{current_version}"
|
search = "{current_version}"
|
||||||
|
|||||||
Reference in New Issue
Block a user