Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
794b1ff5e1 | ||
| fc70ae2bdc |
@@ -2,18 +2,11 @@
|
|||||||
"categories": [
|
"categories": [
|
||||||
{
|
{
|
||||||
"title": "## 🚀 Features",
|
"title": "## 🚀 Features",
|
||||||
"labels": [
|
"labels": ["add","Add"]
|
||||||
"add",
|
|
||||||
"Add",
|
|
||||||
"Kind/Feature"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "## 🐛 Fixes",
|
"title": "## 🐛 Fixes",
|
||||||
"labels": [
|
"labels": ["fix","Fix"]
|
||||||
"fix",
|
|
||||||
"Fix"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "## 🧪 Upgrade",
|
"title": "## 🧪 Upgrade",
|
||||||
|
|||||||
@@ -1,6 +1,10 @@
|
|||||||
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
|
||||||
@@ -24,9 +28,6 @@ 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
|
||||||
|
|||||||
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")
|
print("Version file not found. Returning default version '0.0.0'.")
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "workflowbumptester"
|
name = "workflowbumptester"
|
||||||
version = "1.0.1"
|
version = "1.0.2"
|
||||||
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 = "1.0.1"
|
current_version = "1.0.2"
|
||||||
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