17 Commits
v0.1.28 ... dev

4 changed files with 18 additions and 11 deletions

View File

@@ -2,11 +2,18 @@
"categories": [
{
"title": "## 🚀 Features",
"labels": ["add","Add"]
"labels": [
"add",
"Add",
"Kind/Feature"
]
},
{
"title": "## 🐛 Fixes",
"labels": ["fix","Fix"]
"labels": [
"fix",
"Fix"
]
},
{
"title": "## 🧪 Upgrade",

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"
@@ -78,7 +77,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

View File

@@ -6,7 +6,8 @@ def main():
def get_version():
with open(".version") as f:
return f.read().strip()
print("Done")
if __name__ == "__main__":
main()
print("This script has been executed successfully.")

View File

@@ -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}"