12 Commits

3 changed files with 7 additions and 7 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
@@ -65,7 +64,7 @@ jobs:
id: build_changelog
uses: https://github.com/mikepenz/release-changelog-builder-action@v5
with:
mode: "COMMIT"
platform: "gitea"
baseURL: "http://gitea:3000"
configuration: ".gitea/changelog-config.json"

View File

@@ -6,6 +6,7 @@ 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__":

View File

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