Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b4b4aadb65 | ||
| b6af2370bb | |||
|
6fdfdbee31
|
|||
|
|
5c11d34c84 | ||
| 06e714b23b | |||
|
dd97c0d68a
|
|||
|
|
ec5a4f175a | ||
| a94cde06ac | |||
|
a0154f345c
|
@@ -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
|
||||
|
||||
2
hello.py
2
hello.py
@@ -6,8 +6,6 @@ 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__":
|
||||
main()
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "workflowbumptester"
|
||||
version = "1.0.2"
|
||||
version = "1.0.5"
|
||||
description = "Add your description here"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.13"
|
||||
@@ -10,7 +10,7 @@ dependencies = [
|
||||
]
|
||||
|
||||
[tool.bumpversion]
|
||||
current_version = "1.0.2"
|
||||
current_version = "1.0.5"
|
||||
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
|
||||
serialize = ["{major}.{minor}.{patch}"]
|
||||
search = "{current_version}"
|
||||
|
||||
Reference in New Issue
Block a user