8 Commits

Author SHA1 Message Date
Gitea CI
5c0fcbdb66 Bump version: 0.1.20 → 0.1.21 2025-05-29 08:46:59 +00:00
f35e19d44d Refactor changelog action to use environment variable for Gitea token 2025-05-29 10:45:52 +02:00
Gitea CI
ef54d663d2 Bump version: 0.1.19 → 0.1.20 2025-05-29 08:43:15 +00:00
2ab0dcd60b Fix changelog action ID and update token secret for Gitea integration 2025-05-29 10:42:50 +02:00
Gitea CI
9a2b6eeafc Bump version: 0.1.18 → 0.1.19 2025-05-29 08:40:05 +00:00
4c6d4a7c6f test rcb 2025-05-29 10:39:04 +02:00
b3decbcd05 Update .gitea/workflows/bumptest.yml 2025-05-29 09:29:47 +01:00
2aed04e150 Update .gitea/workflows/bumptest.yml
Some checks failed
Bump version / build (release) Failing after 35s
2025-05-29 09:26:59 +01:00
5 changed files with 41 additions and 19 deletions

View File

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

View File

@@ -0,0 +1,29 @@
{
"categories": [
{
"title": "## 🚀 Features",
"labels": ["add","Add"]
},
{
"title": "## 🐛 Fixes",
"labels": ["fix","Fix"]
},
{
"title": "## 🧪 Upgrade",
"labels": ["upgrade","Upgrade","Clean"]
}
],
"label_extractor": [
{
"pattern": "(\\w+) (.+)",
"target": "$1",
"on_property": "title"
}
],
"sort": "ASC",
"template": "${{CHANGELOG}}",
"pr_template": "- ${{TITLE}}\n - PR: #${{NUMBER}}",
"empty_template": "- no changes",
"max_pull_requests": 1000,
"max_back_track_time_days": 1000
}

View File

@@ -1,10 +1,10 @@
name: Bump version
on:
on:
release:
types: [published]
workflow_dispatch:
jobs:
build:
@@ -18,6 +18,9 @@ jobs:
curl -o git-chglog -L "https://github.com/git-chglog/git-chglog/releases/download/${CHGLOG_VERSION}/git-chglog_linux_amd64"
chmod +x git-chglog
- name: show structure
run: ls -la
- name: Generate CHANGELOG.md
id: generate
run: |

View File

@@ -59,24 +59,14 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
- name: "Build Changelog"
- name: Build Changelog
id: build_changelog
uses: mikepenz/release-changelog-builder-action@v5.0.0
uses: mikepenz/release-changelog-builder-action@v2
with:
platform: "gitea"
configuration: ".gitea/changelog-config.json"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Add release notes to environment
id: add_release_notes
run: |
echo "RELEASE_NOTES<<EOF" >> $GITHUB_ENV
echo "${{ github.event.inputs.release_notes }}" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
- name: Get the changelog
run: |
cat << "EOF"
${{ steps.changelog.outputs.changelog }}
EOF
echo ${{ steps.changelog.outputs.changelog }}
GITHUB_TOKEN: ${{ secrets.GITEA_TOKEN }}
- name: Create release

View File

@@ -1 +1 @@
0.1.18
0.1.21