4 Commits

Author SHA1 Message Date
Gitea CI
4267d1f9fd Bump version: 0.1.3 → 0.1.4 2025-05-20 12:03:15 +00:00
f1be200aae test specified user for release 2025-05-20 14:02:25 +02:00
0425009bbd Merge branch 'main' of https://git.theprivateserver.de/PHB/workflowbumptester 2025-05-20 14:01:14 +02:00
b4f215f42f update ci test 2025-05-20 14:01:00 +02:00
4 changed files with 11 additions and 45 deletions

View File

@@ -1,5 +1,5 @@
[tool.bumpversion]
current_version = "0.1.3"
current_version = "0.1.4"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
serialize = ["{major}.{minor}.{patch}"]
search = "{current_version}"

View File

@@ -1,48 +1,13 @@
name: 'CI'
name: "Tests"
on:
push:
tags:
- '*'
workflow_dispatch:
jobs:
release:
if: startsWith(github.ref, 'refs/tags/')
tests:
runs-on: ubuntu-latest
steps:
- name: Build Changelog
uses: https://github.com/mikepenz/release-changelog-builder-action@v5
with:
platform: "gitea" # gitea or GitHub, default is GitHub
mode: "COMMIT"
configurationJson: |
{
"template": "#{{CHANGELOG}}",
"categories": [
{
"title": "## Feature",
"labels": ["feat", "feature"]
},
{
"title": "## Fix",
"labels": ["fix", "bug"]
},
{
"title": "## Other",
"labels": []
}
],
"label_extractor": [
{
"pattern": "^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test){1}(\\([\\w\\-\\.]+\\))?(!)?: ([\\w ])+([\\s\\S]*)",
"on_property": "title",
"target": "$1"
}
]
}
token: ${{ secrets.TOKEN }}
- name: create Release
uses: softprops/action-gh-release@master
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: ${{ steps.changelog.outputs.changelog }}
- name: Checkout the code
uses: actions/checkout@v4
- name: echo name
run: echo ${{ github.event.repository.owner.login }}

View File

@@ -86,6 +86,7 @@ jobs:
]
}
token: ${{ secrets.TOKEN }}
owner: ${{ github.event.repository.owner.login }}
- name: create Release
if: ${{ github.event.inputs.github_release == 'true' }}
uses: softprops/action-gh-release@master

View File

@@ -1 +1 @@
0.1.3
0.1.4