6 Commits

Author SHA1 Message Date
Gitea CI
71f421a833 Bump version: 0.1.4 → 0.1.5 2025-05-20 12:05:26 +00:00
110888307c test hardcoded owner 2025-05-20 14:04:49 +02:00
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] [tool.bumpversion]
current_version = "0.1.3" current_version = "0.1.5"
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}"

View File

@@ -1,48 +1,13 @@
name: 'CI' name: "Tests"
on: on:
push: workflow_dispatch:
tags:
- '*'
jobs: jobs:
release: tests:
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Build Changelog - name: Checkout the code
uses: https://github.com/mikepenz/release-changelog-builder-action@v5 uses: actions/checkout@v4
with: - name: echo name
platform: "gitea" # gitea or GitHub, default is GitHub run: echo ${{ github.event.repository.owner.login }}
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 }}

View File

@@ -86,6 +86,7 @@ jobs:
] ]
} }
token: ${{ secrets.TOKEN }} token: ${{ secrets.TOKEN }}
owner: WorldTeacher
- name: create Release - name: create Release
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

View File

@@ -1 +1 @@
0.1.3 0.1.5