Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3a47378dc1 | ||
|
09c240089f
|
|||
|
|
9c130ac1d0 | ||
|
|
721e817b20 | ||
|
4a51f0c8e1
|
|||
|
bacdf95171
|
@@ -78,7 +78,7 @@ jobs:
|
||||
if: ${{ github.event.inputs.github_release == 'true' }}
|
||||
uses: softprops/action-gh-release@master
|
||||
with:
|
||||
tag_name: ${{ env.VERSION }}
|
||||
tag_name: v${{ env.VERSION }}
|
||||
release_name: Release ${{ env.VERSION }}
|
||||
body: ${{steps.build_changelog.outputs.changelog}}
|
||||
draft: false
|
||||
|
||||
3
hello.py
3
hello.py
@@ -6,7 +6,8 @@ def main():
|
||||
def get_version():
|
||||
with open(".version") as f:
|
||||
return f.read().strip()
|
||||
|
||||
print("Version file not found. Returning default version '0.0.0'.")
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
print("This script has been executed successfully.")
|
||||
@@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "workflowbumptester"
|
||||
version = "0.1.28"
|
||||
version = "1.0.1"
|
||||
description = "Add your description here"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.13"
|
||||
@@ -10,7 +10,7 @@ dependencies = [
|
||||
]
|
||||
|
||||
[tool.bumpversion]
|
||||
current_version = "0.1.28"
|
||||
current_version = "1.0.1"
|
||||
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
|
||||
serialize = ["{major}.{minor}.{patch}"]
|
||||
search = "{current_version}"
|
||||
|
||||
Reference in New Issue
Block a user