Compare commits
17 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
d2bcb57d53
|
|||
|
7bacf6deb6
|
|||
|
9c5e4d0510
|
|||
|
bf687305ef
|
|||
|
474d92e180
|
|||
|
73d406e18d
|
|||
|
6fdfdbee31
|
|||
|
dd97c0d68a
|
|||
|
a0154f345c
|
|||
|
6598e30a42
|
|||
|
b07928c8af
|
|||
|
|
3a47378dc1 | ||
|
09c240089f
|
|||
|
|
9c130ac1d0 | ||
|
|
721e817b20 | ||
|
4a51f0c8e1
|
|||
|
bacdf95171
|
@@ -2,11 +2,18 @@
|
|||||||
"categories": [
|
"categories": [
|
||||||
{
|
{
|
||||||
"title": "## 🚀 Features",
|
"title": "## 🚀 Features",
|
||||||
"labels": ["add","Add"]
|
"labels": [
|
||||||
|
"add",
|
||||||
|
"Add",
|
||||||
|
"Kind/Feature"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "## 🐛 Fixes",
|
"title": "## 🐛 Fixes",
|
||||||
"labels": ["fix","Fix"]
|
"labels": [
|
||||||
|
"fix",
|
||||||
|
"Fix"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "## 🧪 Upgrade",
|
"title": "## 🧪 Upgrade",
|
||||||
|
|||||||
@@ -1,10 +1,6 @@
|
|||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
release_notes:
|
|
||||||
description: Release notes (use \n for newlines)
|
|
||||||
type: string
|
|
||||||
required: false
|
|
||||||
github_release:
|
github_release:
|
||||||
description: 'Create Gitea Release'
|
description: 'Create Gitea Release'
|
||||||
default: true
|
default: true
|
||||||
@@ -28,6 +24,9 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0 # Fetch full history
|
||||||
|
fetch-tags: true # Fetch all tags (refs/tags)
|
||||||
|
|
||||||
- name: Install uv
|
- name: Install uv
|
||||||
uses: astral-sh/setup-uv@v5
|
uses: astral-sh/setup-uv@v5
|
||||||
@@ -65,7 +64,7 @@ jobs:
|
|||||||
id: build_changelog
|
id: build_changelog
|
||||||
uses: https://github.com/mikepenz/release-changelog-builder-action@v5
|
uses: https://github.com/mikepenz/release-changelog-builder-action@v5
|
||||||
with:
|
with:
|
||||||
mode: "COMMIT"
|
|
||||||
platform: "gitea"
|
platform: "gitea"
|
||||||
baseURL: "http://gitea:3000"
|
baseURL: "http://gitea:3000"
|
||||||
configuration: ".gitea/changelog-config.json"
|
configuration: ".gitea/changelog-config.json"
|
||||||
@@ -78,7 +77,7 @@ jobs:
|
|||||||
if: ${{ github.event.inputs.github_release == 'true' }}
|
if: ${{ github.event.inputs.github_release == 'true' }}
|
||||||
uses: softprops/action-gh-release@master
|
uses: softprops/action-gh-release@master
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ env.VERSION }}
|
tag_name: v${{ env.VERSION }}
|
||||||
release_name: Release ${{ env.VERSION }}
|
release_name: Release ${{ env.VERSION }}
|
||||||
body: ${{steps.build_changelog.outputs.changelog}}
|
body: ${{steps.build_changelog.outputs.changelog}}
|
||||||
draft: false
|
draft: false
|
||||||
|
|||||||
3
hello.py
3
hello.py
@@ -6,7 +6,8 @@ def main():
|
|||||||
def get_version():
|
def get_version():
|
||||||
with open(".version") as f:
|
with open(".version") as f:
|
||||||
return f.read().strip()
|
return f.read().strip()
|
||||||
|
print("Done")
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
|
print("This script has been executed successfully.")
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "workflowbumptester"
|
name = "workflowbumptester"
|
||||||
version = "0.1.28"
|
version = "1.0.1"
|
||||||
description = "Add your description here"
|
description = "Add your description here"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.13"
|
requires-python = ">=3.13"
|
||||||
@@ -10,7 +10,7 @@ dependencies = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
[tool.bumpversion]
|
[tool.bumpversion]
|
||||||
current_version = "0.1.28"
|
current_version = "1.0.1"
|
||||||
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
|
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
|
||||||
serialize = ["{major}.{minor}.{patch}"]
|
serialize = ["{major}.{minor}.{patch}"]
|
||||||
search = "{current_version}"
|
search = "{current_version}"
|
||||||
|
|||||||
Reference in New Issue
Block a user