9 Commits

3 changed files with 5 additions and 8 deletions

View File

@@ -1,10 +1,6 @@
on:
workflow_dispatch:
inputs:
release_notes:
description: Release notes (use \n for newlines)
type: string
required: false
github_release:
description: 'Create Gitea Release'
default: true
@@ -28,6 +24,9 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch full history
fetch-tags: true # Fetch all tags (refs/tags)
- name: Install uv
uses: astral-sh/setup-uv@v5

View File

@@ -6,8 +6,6 @@ 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()

View File

@@ -1,6 +1,6 @@
[project]
name = "workflowbumptester"
version = "1.0.2"
version = "1.0.5"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.13"
@@ -10,7 +10,7 @@ dependencies = [
]
[tool.bumpversion]
current_version = "1.0.2"
current_version = "1.0.5"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
serialize = ["{major}.{minor}.{patch}"]
search = "{current_version}"