Compare commits

...

34 Commits

Author SHA1 Message Date
f642eb5b06 .gitea/workflows/release.yml aktualisiert
All checks were successful
Create Release / release (push) Successful in 7s
2025-05-29 12:11:29 +02:00
75f0bc3fef .gitea/workflows/release.yml aktualisiert
Some checks failed
Create Release / release (push) Failing after 9s
2025-05-29 12:10:08 +02:00
2cbfeaf6c1 .gitea/workflows/release.yml aktualisiert
All checks were successful
Create Release / release (push) Successful in 7s
2025-05-29 12:05:36 +02:00
22a2476194 .gitea/workflows/release.yml aktualisiert
All checks were successful
Create Release / release (push) Successful in 8s
2025-05-29 12:03:01 +02:00
342bb23a8a .gitea/workflows/release.yml aktualisiert
Some checks failed
Create Release / release (push) Failing after 8s
2025-05-29 11:57:38 +02:00
5d8e00c396 .gitea/workflows/release.yml aktualisiert
Some checks failed
Create Release / release (push) Failing after 10s
2025-05-29 11:53:51 +02:00
6d3d8da80c .gitea/workflows/release.yml aktualisiert
Some checks failed
Release / release (push) Failing after 1m21s
2025-05-29 11:48:29 +02:00
6b0c286749 feat(2): test1 hinzugefügt
All checks were successful
Build Changelog and Release / release (push) Successful in 7s
2025-05-29 11:18:09 +02:00
e8196f2e02 feat(1): test1 hinzugefügt 2025-05-29 11:17:31 +02:00
2383627b93 .chglog/CHANGELOG.tpl.md aktualisiert
All checks were successful
Build Changelog and Release / release (push) Successful in 6s
2025-05-29 11:15:59 +02:00
e17b15f9b8 .chglog/CHANGELOG.tpl.md aktualisiert
All checks were successful
Build Changelog and Release / release (push) Successful in 6s
2025-05-29 11:13:20 +02:00
c2829e51d2 feat(test1): test1 hinzugefügt
Some checks failed
Build Changelog and Release / release (push) Failing after 6s
2025-05-29 11:10:47 +02:00
697bed098c .chglog/CHANGELOG.tpl.md aktualisiert
All checks were successful
Build Changelog and Release / release (push) Successful in 7s
2025-05-29 11:08:06 +02:00
3bdc1064e4 .chglog/CHANGELOG.tpl.md aktualisiert
Some checks failed
Build Changelog and Release / release (push) Failing after 7s
2025-05-29 11:05:09 +02:00
674980cd67 .chglog/config.yml aktualisiert 2025-05-29 11:04:31 +02:00
ab724c7a4f UTF icons entfernt
All checks were successful
Build Changelog and Release / release (push) Successful in 7s
2025-05-29 10:52:05 +02:00
baf1dc59e3 utf packet entfernt 2025-05-29 10:51:34 +02:00
0125f02699 utf packet hinzugefügt
All checks were successful
Build Changelog and Release / release (push) Successful in 3m0s
2025-05-29 10:45:38 +02:00
a1328dc32e locale gen hinzugefügt
All checks were successful
Build Changelog and Release / release (push) Successful in 7s
2025-05-29 10:39:14 +02:00
733f16c90c lang geändert
All checks were successful
Build Changelog and Release / release (push) Successful in 10s
2025-05-29 10:34:50 +02:00
034b3208c6 icon
All checks were successful
Build Changelog and Release / release (push) Successful in 7s
2025-05-29 10:27:26 +02:00
623ef5dc12 demo
All checks were successful
Build Changelog and Release / release (push) Successful in 7s
2025-05-29 10:22:31 +02:00
4fc79db1c4 .chglog/CHANGELOG.tpl.md aktualisiert 2025-05-29 10:18:36 +02:00
08121dec64 ci(log): Login Funktion hinzugefügt
All checks were successful
Build Changelog and Release / release (push) Successful in 7s
2025-05-29 00:44:09 +02:00
f1e9fa1a0a fix(login): Login Funktion hinzugefügt
All checks were successful
Build Changelog and Release / release (push) Successful in 6s
2025-05-28 21:58:48 +02:00
9df008366e fix(build): Funktion hinzugefügt
All checks were successful
Build Changelog and Release / release (push) Successful in 4s
2025-05-28 21:24:28 +02:00
4333f15808 feat(login): Funktion hinzugefügt
All checks were successful
Build Changelog and Release / release (push) Successful in 5s
2025-05-28 21:13:46 +02:00
a084d9ef5b docs(readme): Text erweitert 2025-05-28 21:12:05 +02:00
5f4e6d89ce fix(t): commit-msg erstellt 2025-05-28 21:08:20 +02:00
2430ead654 feat(api): add user endpoint
All checks were successful
Build Changelog and Release / release (push) Successful in 5s
2025-05-28 20:43:53 +02:00
65ec77be9c fix(ui): button alignment 2025-05-28 20:42:32 +02:00
e3cda73dc6 änderung url in realase.yaml
All checks were successful
Build Changelog and Release / release (push) Successful in 7s
2025-05-28 20:36:01 +02:00
5b8771a87d änderung url in realase.yaml
All checks were successful
Build Changelog and Release / release (push) Successful in 6s
2025-05-28 20:30:53 +02:00
87f6046cfd änderung url in realase.yaml
All checks were successful
Build Changelog and Release / release (push) Successful in 6s
2025-05-28 20:22:35 +02:00
5 changed files with 103 additions and 61 deletions

View File

@ -1,38 +1,42 @@
{{ range .Versions }} {{ range .Versions }}
<a name="{{ .Tag.Name }}"></a> <a name="{{ .Tag.Name }}"></a>
## {{ if .Tag.Previous }}[{{ .Tag.Name }}]({{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}){{ else }}{{ .Tag.Name }}{{ end }} ({{ datetime "2006-01-02" .Tag.Date }}) ## BlueMastoFeed {{ if .Tag.Previous }}[{{ .Tag.Name }}]({{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}){{ else }}{{ .Tag.Name }}{{ end }} - {{ datetime "2006-01-02" .Tag.Date }}
{{ range .CommitGroups -}} {{ if .CommitGroups }}
### {{ .Title }} ### Changes
{{ range .Commits -}} {{ range .CommitGroups }}
* {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} #### {{ .Title }}
{{ range .Commits }}
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
{{ end }}
{{ end }} {{ end }}
{{ end -}}
{{- if .RevertCommits -}}
### Reverts
{{ range .RevertCommits -}}
* {{ .Revert.Header }}
{{ end }} {{ end }}
{{ end -}}
{{- if .MergeCommits -}} {{ if .MergeCommits }}
### Pull Requests ### Pull Requests
{{ range .MergeCommits -}} {{ range .MergeCommits }}
* {{ .Header }} - {{ .Header }}
{{ end }}
{{ end }} {{ end }}
{{ end -}}
{{- if .NoteGroups -}} {{ if .RevertCommits }}
{{ range .NoteGroups -}} ### Reverts
### {{ .Title }}
{{ range .RevertCommits }}
- {{ .Revert.Header }}
{{ end }}
{{ end }}
{{ if .NoteGroups }}
### Notes
{{ range .NoteGroups }}
#### {{ .Title }}
{{ range .Notes }} {{ range .Notes }}
{{ .Body }} - {{ .Body }}
{{ end }}
{{ end }}
{{ end }}
{{ end }} {{ end }}
{{ end -}}
{{ end -}}
{{ end -}}

View File

@ -1,28 +1,37 @@
style: github style: github
template: CHANGELOG.tpl.md template: CHANGELOG.tpl.md
info: info:
title: CHANGELOG title: CHANGELOG
repository_url: https://dev.ksite.de/ralf.kirchner/demo repository_url: https://dev.ksite.de/ralf.kirchner/demo
options: options:
commits: commits:
# filters: sort_by: "date" # Optional, default is OK too
# Type: exclude_merge_commits: false
# - feat
# - fix
# - perf
# - refactor
commit_groups: commit_groups:
# title_maps: group_by: "Type"
# feat: Features title_maps:
# fix: Bug Fixes feat: Features
# perf: Performance Improvements fix: Bug Fixes
# refactor: Code Refactoring perf: Performance Improvements
refactor: Code Refactoring
docs: Documentation
chore: Maintenance
test: Tests
build: Build System
ci: Continuous Integration
style: Code Style
header: header:
pattern: "^(\\w*)(?:\\(([\\w\\$\\.\\-\\*\\s]*)\\))?\\:\\s(.*)$" pattern: "^(\\w*)(?:\\(([\\w\\$\\.\\-\\*\\s]*)\\))?\\:\\s(.*)$"
pattern_maps: pattern_maps:
- Type - Type
- Scope - Scope
- Subject - Subject
notes: notes:
keywords: keywords:
- BREAKING CHANGE - BREAKING CHANGE
- DEPRECATED

View File

@ -1,44 +1,62 @@
name: Build Changelog and Release name: Create Release
on: on:
push: push:
tags: tags:
- 'v*.*.*' - 'v*' # Startet nur bei Tags wie v1.0.0
jobs: jobs:
release: release:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout code - name: Enable debug output
run: |
set -x
- name: Checkout source
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Install git-chglog - name: Extract repository info
run: | run: |
curl -sSL https://github.com/git-chglog/git-chglog/releases/download/v0.15.1/git-chglog_0.15.1_linux_amd64.tar.gz | tar -xz echo "REPO=${GITEA_REPOSITORY#*/}" >> $GITEA_ENV
echo "OWNER=${GITEA_REPOSITORY%/*}" >> $GITEA_ENV
- name: Install git-chglog (no Go needed)
run: |
GIT_CHGLOG_VERSION="0.15.1"
curl -sSL "https://github.com/git-chglog/git-chglog/releases/download/v${GIT_CHGLOG_VERSION}/git-chglog_${GIT_CHGLOG_VERSION}_linux_amd64.tar.gz" -o git-chglog.tar.gz
tar -xzf git-chglog.tar.gz
chmod +x git-chglog
sudo mv git-chglog /usr/local/bin/ sudo mv git-chglog /usr/local/bin/
- name: Generate changelog - name: Show git-chglog version
run: | run: git-chglog --version
git-chglog $(git describe --tags --abbrev=0) > RELEASE_NOTES.md
- name: Create Release on Gitea - name: Generate CHANGELOG.md for current tag
run: |
TAG=$(git describe --tags --abbrev=0)
echo "Generating changelog for tag: $TAG"
git-chglog -o CHANGELOG.md "$TAG"
echo "Changelog generated:"
cat CHANGELOG.md
- name: Create Gitea Release via API (no Go required)
env: env:
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }} TOKEN: ${{ secrets.TOKEN }}
GITEA_REPOSITORY: ${{ env.GITEA_REPOSITORY }}
run: | run: |
TAG=$(git describe --tags) OWNER="${GITEA_REPOSITORY%%/*}"
REPO=${GITEA_REPOSITORY#*/} REPO="${GITEA_REPOSITORY##*/}"
OWNER=${GITEA_REPOSITORY%/*} TAG=${GITHUB_REF##*/} # aktueller Tagname
BODY=$(cat RELEASE_NOTES.md | jq -Rs .) echo "Owner: $OWNER, Repo: $REPO, Tag: $TAG"
curl -X POST "https://dev.ksite.de/api/v1/repos/${OWNER}/${REPO}/releases" \
curl -X POST "https://gitea.example.com/api/v1/repos/$OWNER/$REPO/releases" \
-H "Authorization: token $GITEA_TOKEN" \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \
-d "{ -H "Authorization: token $TOKEN" \
\"tag_name\": \"$TAG\", -d @- <<EOF
\"name\": \"$TAG\", {
\"body\": $BODY, "tag_name": "${TAG}",
\"draft\": false, "name": "${TAG}",
\"prerelease\": false "body": "$(sed 's/"/\\"/g' CHANGELOG.md)"
}" }
EOF

8
README.md Normal file
View File

@ -0,0 +1,8 @@
# Demo Project
## Test
Das ist ein Test
Test 01
test 03

3
test1.txt Normal file
View File

@ -0,0 +1,3 @@
1
2