24 Commits

Author SHA1 Message Date
Gitea CI
fde71d892c Bump version: 0.1.6 → 0.1.7 2025-05-21 08:21:43 +00:00
08e2ba4cf5 Update .gitea/workflows/relase.yml 2025-05-21 09:21:17 +01:00
f37372acfa Update .gitea/workflows/relase.yml 2025-05-21 09:20:08 +01:00
00097b0301 Update .gitea/workflows/relase.yml 2025-05-21 09:19:01 +01:00
78b76b057f Update .gitea/workflows/relase.yml 2025-05-21 09:12:26 +01:00
9d04c05a40 Update .gitea/workflows/relase.yml 2025-05-21 09:11:30 +01:00
0ebae7900b Update .gitea/workflows/relase.yml 2025-05-21 09:09:19 +01:00
a521361f7c Update .gitea/workflows/relase.yml 2025-05-21 09:08:56 +01:00
acf80c9e57 Merge branch 'main' of https://git.theprivateserver.de/PHB/workflowbumptester 2025-05-21 10:06:59 +02:00
6f5957a52f Merge branch 'main' of https://git.theprivateserver.de/PHB/workflowbumptester 2025-05-21 10:06:17 +02:00
Gitea CI
569d09b170 Bump version: 0.1.5 → 0.1.6 2025-05-21 08:06:17 +00:00
43e9660c17 test set changelog using generator 2025-05-21 10:04:18 +02:00
348ca30333 re-add softprops release 2025-05-20 15:11:40 +02:00
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
Gitea CI
bad48af5e2 Bump version: 0.1.2 → 0.1.3 2025-05-20 11:56:19 +00:00
e722901611 chore: include release in wf 2025-05-20 13:54:27 +02:00
e2b60f5f9e Merge branch 'main' of https://git.theprivateserver.de/PHB/workflowbumptester 2025-05-20 13:53:52 +02:00
542fc9f548 feat: update gitignore 2025-05-20 13:53:27 +02:00
Gitea CI
96129a369c Bump version: 0.1.1 → 0.1.2 2025-05-20 11:51:16 +00:00
5 changed files with 45 additions and 66 deletions

View File

@@ -1,5 +1,5 @@
[tool.bumpversion] [tool.bumpversion]
current_version = "0.1.1" current_version = "0.1.7"
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

@@ -19,6 +19,8 @@ on:
- 'minor' - 'minor'
- 'patch' - 'patch'
jobs: jobs:
release: release:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -43,7 +45,7 @@ jobs:
id: bump id: bump
run: | run: |
uv tool install bump-my-version uv tool install bump-my-version
uv tool run bump-my-version bump ${{ github.event.inputs.bump }} --allow-dirty uv tool run bump-my-version bump ${{ github.event.inputs.bump }}
# echo the version to github env, the version is shown by using uv tool run bump-my-version show current_version # echo the version to github env, the version is shown by using uv tool run bump-my-version show current_version
echo "VERSION<<EOF" >> $GITHUB_ENV echo "VERSION<<EOF" >> $GITHUB_ENV
echo "$(uv tool run bump-my-version show current_version)" >> $GITHUB_ENV echo "$(uv tool run bump-my-version show current_version)" >> $GITHUB_ENV
@@ -55,23 +57,34 @@ jobs:
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }} branch: ${{ github.ref }}
# - name: Add release notes to environment - name: Add release notes to environment
# id: add_release_notes id: add_release_notes
# run: | run: |
# echo "RELEASE_NOTES<<EOF" >> $GITHUB_ENV echo "RELEASE_NOTES<<EOF" >> $GITHUB_ENV
# echo "${{ github.event.inputs.release_notes }}" >> $GITHUB_ENV echo "${{ github.event.inputs.release_notes }}" >> $GITHUB_ENV
# echo "EOF" >> $GITHUB_ENV echo "EOF" >> $GITHUB_ENV
# - name: Create release - name: Generate Changelog
# id: create_release uses: spring-io/github-changelog-generator@main
# if: ${{ github.event.inputs.github_release == 'true' }} with:
# uses: softprops/action-gh-release@master milestone: '1.0.0'
# with:
# tag_name: ${{ env.VERSION }} - name: Set changelog to environment
# release_name: Release ${{ env.VERSION }} id: set_changelog
# body: ${{ env.RELEASE_NOTES }} run: |
# draft: false echo "CHANGELOG<<EOF" >> $GITHUB_ENV
# prerelease: false echo "$(cat changelog.md)" >> $GITHUB_ENV
# make_latest: true echo "EOF" >> $GITHUB_ENV
# env: - name: Create release
# GITHUB_TOKEN: ${{ secrets.TOKEN }} id: create_release
if: ${{ github.event.inputs.github_release == 'true' }}
uses: softprops/action-gh-release@master
with:
tag_name: ${{ env.VERSION }}
release_name: Release ${{ env.VERSION }}
body_path: changelog.md
draft: false
prerelease: false
make_latest: true
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}

1
.gitignore vendored
View File

@@ -230,3 +230,4 @@ config.yaml
.venv .venv
venv venv
*.log *.log
Wallpapers/

View File

@@ -1 +1 @@
0.1.1 0.1.7