Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b9143544c4 | ||
|
4e59dfad54
|
|||
|
a0d0535044
|
|||
|
ea16d817e1
|
|||
|
9e2621cd60
|
|||
|
655b6c0df5
|
|||
|
605dc750e7
|
|||
|
78faddf56e
|
|||
| 2686d822cd | |||
|
a121e59f47
|
@@ -1,22 +0,0 @@
|
|||||||
[tool.bumpversion]
|
|
||||||
current_version = "0.1.24"
|
|
||||||
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
|
|
||||||
serialize = ["{major}.{minor}.{patch}"]
|
|
||||||
search = "{current_version}"
|
|
||||||
replace = "{new_version}"
|
|
||||||
regex = false
|
|
||||||
ignore_missing_version = false
|
|
||||||
ignore_missing_files = false
|
|
||||||
tag = true
|
|
||||||
sign_tags = false
|
|
||||||
tag_name = "v{new_version}"
|
|
||||||
tag_message = "Bump version: {current_version} → {new_version}"
|
|
||||||
allow_dirty = false
|
|
||||||
commit = true
|
|
||||||
message = "Bump version: {current_version} → {new_version}"
|
|
||||||
commit_args = ""
|
|
||||||
setup_hooks = []
|
|
||||||
pre_commit_hooks = []
|
|
||||||
post_commit_hooks = []
|
|
||||||
[[tool.bumpversion.files]]
|
|
||||||
filename = ".version"
|
|
||||||
@@ -37,7 +37,7 @@ jobs:
|
|||||||
python-version-file: "pyproject.toml"
|
python-version-file: "pyproject.toml"
|
||||||
|
|
||||||
- name: Install the project
|
- name: Install the project
|
||||||
run: uv sync --locked --all-extras --dev
|
run: uv sync --all-extras --dev
|
||||||
- name: Set Git identity
|
- name: Set Git identity
|
||||||
run: |
|
run: |
|
||||||
git config user.name "Gitea CI"
|
git config user.name "Gitea CI"
|
||||||
@@ -52,7 +52,9 @@ jobs:
|
|||||||
echo "$(uv tool run bump-my-version show current_version)" >> $GITHUB_ENV
|
echo "$(uv tool run bump-my-version show current_version)" >> $GITHUB_ENV
|
||||||
echo "EOF" >> $GITHUB_ENV
|
echo "EOF" >> $GITHUB_ENV
|
||||||
- name: Check version
|
- name: Check version
|
||||||
run: echo ${{ env.VERSION }}
|
run: |
|
||||||
|
echo ${{ env.VERSION }}
|
||||||
|
cat pyproject.toml
|
||||||
- name: Push changes
|
- name: Push changes
|
||||||
uses: ad-m/github-push-action@master
|
uses: ad-m/github-push-action@master
|
||||||
with:
|
with:
|
||||||
@@ -63,6 +65,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"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "workflowbumptester"
|
name = "workflowbumptester"
|
||||||
version = "0.1.0"
|
version = "0.1.28"
|
||||||
description = "Add your description here"
|
description = "Add your description here"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.13"
|
requires-python = ">=3.13"
|
||||||
@@ -8,3 +8,25 @@ dependencies = [
|
|||||||
"bump-my-version>=1.1.3",
|
"bump-my-version>=1.1.3",
|
||||||
"pyyaml>=6.0.2",
|
"pyyaml>=6.0.2",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[tool.bumpversion]
|
||||||
|
current_version = "0.1.28"
|
||||||
|
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
|
||||||
|
serialize = ["{major}.{minor}.{patch}"]
|
||||||
|
search = "{current_version}"
|
||||||
|
replace = "{new_version}"
|
||||||
|
regex = false
|
||||||
|
ignore_missing_version = false
|
||||||
|
ignore_missing_files = false
|
||||||
|
tag = true
|
||||||
|
sign_tags = false
|
||||||
|
tag_name = "v{new_version}"
|
||||||
|
tag_message = "Bump version: {current_version} → {new_version}"
|
||||||
|
allow_dirty = true
|
||||||
|
commit = true
|
||||||
|
message = "Bump version: {current_version} → {new_version}"
|
||||||
|
moveable_tags = []
|
||||||
|
commit_args = ""
|
||||||
|
setup_hooks = []
|
||||||
|
pre_commit_hooks = []
|
||||||
|
post_commit_hooks = []
|
||||||
|
|||||||
Reference in New Issue
Block a user