Compare commits
22 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d00135b00c | ||
| 3dfaf8d74d | |||
|
73d406e18d
|
|||
|
|
b4b4aadb65 | ||
| b6af2370bb | |||
|
6fdfdbee31
|
|||
|
|
5c11d34c84 | ||
| 06e714b23b | |||
|
dd97c0d68a
|
|||
|
|
ec5a4f175a | ||
| a94cde06ac | |||
|
a0154f345c
|
|||
|
|
794b1ff5e1 | ||
| fc70ae2bdc | |||
|
6598e30a42
|
|||
|
b07928c8af
|
|||
|
|
3a47378dc1 | ||
|
09c240089f
|
|||
|
|
9c130ac1d0 | ||
|
|
721e817b20 | ||
|
4a51f0c8e1
|
|||
|
bacdf95171
|
@@ -2,16 +2,57 @@
|
||||
"categories": [
|
||||
{
|
||||
"title": "## 🚀 Features",
|
||||
"labels": ["add","Add"]
|
||||
"labels": [
|
||||
"add",
|
||||
"Add",
|
||||
"Kind/Feature"
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "## 🐛 Fixes",
|
||||
"labels": ["fix","Fix"]
|
||||
"labels": [
|
||||
"fix",
|
||||
"Fix",
|
||||
"Kind/Bug"
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "## 🧪 Upgrade",
|
||||
"labels": ["upgrade","Upgrade","Clean"]
|
||||
}
|
||||
,
|
||||
{
|
||||
"title": "## 📝 Documentation",
|
||||
"labels": [
|
||||
"docs",
|
||||
"Docs",
|
||||
"Kind/Documentation"
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "## 🧹 Chore",
|
||||
"labels": [
|
||||
"chore",
|
||||
"Chore",
|
||||
"Kind/Chore"
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "## 🛠️ Maintenance",
|
||||
"labels": [
|
||||
"maintenance",
|
||||
"Maintenance",
|
||||
"Kind/Maintenance"
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "## 🗑️ Deprecation",
|
||||
"labels": [
|
||||
"deprecation",
|
||||
"Deprecation",
|
||||
"Kind/Deprecation"
|
||||
]
|
||||
}
|
||||
],
|
||||
"label_extractor": [
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
2
hello.py
2
hello.py
@@ -7,6 +7,6 @@ def get_version():
|
||||
with open(".version") as f:
|
||||
return f.read().strip()
|
||||
|
||||
|
||||
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.6"
|
||||
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.6"
|
||||
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
|
||||
serialize = ["{major}.{minor}.{patch}"]
|
||||
search = "{current_version}"
|
||||
|
||||
Reference in New Issue
Block a user