Compare commits

...

50 Commits

Author SHA1 Message Date
208356f9db test(mE9aBNXB): Auto-Update Zufallsstring mE9aBNXB
All checks were successful
Create Release / release (push) Successful in 8s
2025-05-29 14:31:15 +02:00
95e5b61607 test(LRyWVE5y): Auto-Update Zufallsstring LRyWVE5y 2025-05-29 14:31:14 +02:00
ac1428a65e test(11sK5cBR): Auto-Update Zufallsstring 11sK5cBR 2025-05-29 14:31:13 +02:00
4a7553b68e style(33ibipFg): Auto-Update Zufallsstring 33ibipFg 2025-05-29 14:31:13 +02:00
faee4ab40f style(Ijvpwkek): Auto-Update Zufallsstring Ijvpwkek 2025-05-29 14:31:12 +02:00
ce70420ce7 style(ThZEYUjn): Auto-Update Zufallsstring ThZEYUjn 2025-05-29 14:31:11 +02:00
bd1409e77b refactor(5JMWa9i3): Auto-Update Zufallsstring 5JMWa9i3 2025-05-29 14:31:11 +02:00
2de3086819 refactor(861uEy6f): Auto-Update Zufallsstring 861uEy6f 2025-05-29 14:31:10 +02:00
61d7b1d8f7 refactor(RkvODk4K): Auto-Update Zufallsstring RkvODk4K 2025-05-29 14:31:09 +02:00
1d9e63a84c fix(KexTNSMP): Auto-Update Zufallsstring KexTNSMP 2025-05-29 14:31:08 +02:00
aedf49b0f3 fix(YHCfK5DV): Auto-Update Zufallsstring YHCfK5DV 2025-05-29 14:31:08 +02:00
606aeb20d3 fix(TDEZGpBC): Auto-Update Zufallsstring TDEZGpBC 2025-05-29 14:31:07 +02:00
8b9a94e28f feat(JCh80wIn): Auto-Update Zufallsstring JCh80wIn 2025-05-29 14:31:06 +02:00
11f252fb12 feat(SSgqTQLE): Auto-Update Zufallsstring SSgqTQLE 2025-05-29 14:31:05 +02:00
3b5ebf6c27 feat(w12pw7xZ): Auto-Update Zufallsstring w12pw7xZ 2025-05-29 14:30:59 +02:00
776f01a672 docs(l8Hgk0XW): Auto-Update Zufallsstring l8Hgk0XW 2025-05-29 14:30:58 +02:00
eaebf686eb docs(UVjx6TQj): Auto-Update Zufallsstring UVjx6TQj 2025-05-29 14:30:57 +02:00
83b84d2687 docs(NSpeZu7J): Auto-Update Zufallsstring NSpeZu7J 2025-05-29 14:30:56 +02:00
66b3b03290 chore(VOfcmwh4): Auto-Update Zufallsstring VOfcmwh4 2025-05-29 14:30:56 +02:00
9e65f48123 chore(hT0eHTsv): Auto-Update Zufallsstring hT0eHTsv 2025-05-29 14:30:55 +02:00
bd101f9e0a chore(nfMmqgR2): Auto-Update Zufallsstring nfMmqgR2 2025-05-29 14:30:51 +02:00
6a5fa42239 fix(autopost): Script angepasst 2025-05-29 14:30:31 +02:00
b4a1f798bd feat(3): Auto-Update 3: Zufallsstring FUlNIQKk
All checks were successful
Create Release / release (push) Successful in 8s
2025-05-29 14:22:32 +02:00
e4be7f6516 feat(2): Auto-Update 2: Zufallsstring mxNdbHzm 2025-05-29 14:22:32 +02:00
27118d5826 feat(1): Auto-Update 1: Zufallsstring 8msBEIxm 2025-05-29 14:22:31 +02:00
3ea9d963b0 .gitea/workflows/release.yml aktualisiert 2025-05-29 14:22:23 +02:00
e945d38418 feat(3): Auto-Update 3: Zufallsstring DYDaz9Tr
Some checks failed
Create Release / release (push) Failing after 8s
2025-05-29 14:21:43 +02:00
013c0cdd88 feat(2): Auto-Update 2: Zufallsstring fplShaNq 2025-05-29 14:21:43 +02:00
04e175dfb8 feat(1): Auto-Update 1: Zufallsstring st63VH3N 2025-05-29 14:21:38 +02:00
30e3f59a11 .chglog/CHANGELOG.tpl.md aktualisiert 2025-05-29 14:21:28 +02:00
2c25474f2e feat(3): Auto-Update 3: Zufallsstring SnrTGYfO
Some checks failed
Create Release / release (push) Failing after 8s
2025-05-29 14:09:49 +02:00
874a37f269 feat(2): Auto-Update 2: Zufallsstring pmkxkEqY 2025-05-29 14:09:48 +02:00
ae9ccbf83e feat(1): Auto-Update 1: Zufallsstring XBHbBQLK 2025-05-29 14:09:47 +02:00
a3ac272787 .gitea/workflows/release.yml aktualisiert 2025-05-29 14:09:41 +02:00
f3a00ccb1c feat(3): Auto-Update 3: Zufallsstring um3vnKHA
All checks were successful
Create Release / release (push) Successful in 9s
2025-05-29 14:05:02 +02:00
87e2078b3c feat(2): Auto-Update 2: Zufallsstring ewY0zmF6 2025-05-29 14:05:01 +02:00
da8d686357 feat(1): Auto-Update 1: Zufallsstring Lw7O38L4 2025-05-29 14:05:01 +02:00
4ea1898232 .gitea/workflows/release.yml aktualisiert 2025-05-29 14:04:51 +02:00
5b2472a391 feat(3): Auto-Update 3: Zufallsstring Ifv2JztG
All checks were successful
Create Release / release (push) Successful in 9s
2025-05-29 14:00:28 +02:00
6505bf3bd5 feat(2): Auto-Update 2: Zufallsstring cDZc6Ibn 2025-05-29 14:00:27 +02:00
b02c906a79 feat(1): Auto-Update 1: Zufallsstring fTe39pUu 2025-05-29 14:00:26 +02:00
0922ad361e .gitea/workflows/release.yml aktualisiert 2025-05-29 14:00:15 +02:00
6a5b1d13a8 feat(3): Auto-Update 3: Zufallsstring J5seL5Zg
All checks were successful
Create Release / release (push) Successful in 8s
2025-05-29 13:57:29 +02:00
9d12dee06b feat(2): Auto-Update 2: Zufallsstring XXFRCMIz 2025-05-29 13:57:28 +02:00
4ea8a21ad4 feat(1): Auto-Update 1: Zufallsstring e3RCS218 2025-05-29 13:57:22 +02:00
5d87f69603 .gitea/workflows/release.yml aktualisiert 2025-05-29 13:57:09 +02:00
0fd17eaddb feat(3): Auto-Update 3: Zufallsstring ikA2H9a3
All checks were successful
Create Release / release (push) Successful in 8s
2025-05-29 13:47:24 +02:00
dbbef44530 feat(2): Auto-Update 2: Zufallsstring VUKfUEJZ 2025-05-29 13:47:23 +02:00
ded9df64b1 feat(1): Auto-Update 1: Zufallsstring kLtteV0j 2025-05-29 13:47:17 +02:00
ce1d145b49 .chglog/CHANGELOG.tpl.md aktualisiert 2025-05-29 13:47:05 +02:00
4 changed files with 104 additions and 50 deletions

View File

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

View File

@@ -3,7 +3,7 @@ name: Create Release
on:
push:
tags:
- 'v*' # Nur bei Tags wie v1.0.0
- 'v*' # Nur bei Tags wie v1.0.0, v2.0.0
jobs:
release:
@@ -13,8 +13,11 @@ jobs:
- name: Enable debug output
run: set -x
- name: Checkout source
- name: Checkout full history including tags
uses: actions/checkout@v3
with:
fetch-depth: 0
fetch-tags: true
- name: Show environment variables for debugging
run: |
@@ -25,11 +28,8 @@ jobs:
id: repo-info
run: |
REMOTE_URL=$(git config --get remote.origin.url)
echo "Remote URL: $REMOTE_URL"
OWNER=$(echo "$REMOTE_URL" | sed -E 's#.*/([^/]+)/([^/]+)(\.git)?#\1#')
REPO=$(echo "$REMOTE_URL" | sed -E 's#.*/([^/]+)/([^/]+)(\.git)?#\2#')
echo "OWNER=$OWNER" >> $GITHUB_ENV
echo "REPO=$REPO" >> $GITHUB_ENV
@@ -41,24 +41,24 @@ jobs:
chmod +x git-chglog
sudo mv git-chglog /usr/local/bin/
- name: Show git-chglog version
run: git-chglog --version
- name: Determine previous tag
- name: Determine current and previous tag
id: tags
run: |
CURRENT_TAG="${GITHUB_REF##*/}"
PREVIOUS_TAG=$(git tag --sort=-creatordate | grep -v "$CURRENT_TAG" | tail -n1 || true)
PREVIOUS_TAG=$(git describe --tags --abbrev=0 "${CURRENT_TAG}^" 2>/dev/null || true)
echo "CURRENT_TAG=$CURRENT_TAG"
echo "PREVIOUS_TAG=$PREVIOUS_TAG"
echo "CURRENT_TAG=$CURRENT_TAG" >> $GITHUB_ENV
echo "PREVIOUS_TAG=$PREVIOUS_TAG" >> $GITHUB_ENV
- name: Generate CHANGELOGs
- name: Generate CHANGELOG.md
run: |
# Vollständiger Changelog
# Optional: kompletter Changelog (nicht für Release-Body)
git-chglog -o CHANGELOG.md
# Nur aktueller Abschnitt
# Nur der relevante Abschnitt zwischen Tags
if [ -n "$PREVIOUS_TAG" ]; then
git-chglog "$PREVIOUS_TAG..$CURRENT_TAG" > RELEASE_BODY.md
else
@@ -68,13 +68,14 @@ jobs:
echo "Release changelog content:"
cat RELEASE_BODY.md
- name: Create Gitea Release via API (Markdown-safe)
- name: Create Gitea Release via API
env:
TOKEN: ${{ secrets.TOKEN }}
OWNER: ${{ env.OWNER }}
REPO: ${{ env.REPO }}
CURRENT_TAG: ${{ env.CURRENT_TAG }}
run: |
# Base64-encode und sicher escapen für JSON
BODY=$(base64 -w0 RELEASE_BODY.md)
DECODED_BODY=$(echo "$BODY" | base64 -d | jq -Rs .)

View File

@@ -18,3 +18,45 @@ dLlIj2EY
tR0o43E3
7eNev7oo
x3Gpbeek
kLtteV0j
VUKfUEJZ
ikA2H9a3
e3RCS218
XXFRCMIz
J5seL5Zg
fTe39pUu
cDZc6Ibn
Ifv2JztG
Lw7O38L4
ewY0zmF6
um3vnKHA
XBHbBQLK
pmkxkEqY
SnrTGYfO
st63VH3N
fplShaNq
DYDaz9Tr
8msBEIxm
mxNdbHzm
FUlNIQKk
nfMmqgR2
hT0eHTsv
VOfcmwh4
NSpeZu7J
UVjx6TQj
l8Hgk0XW
w12pw7xZ
SSgqTQLE
JCh80wIn
TDEZGpBC
YHCfK5DV
KexTNSMP
RkvODk4K
861uEy6f
5JMWa9i3
ThZEYUjn
Ijvpwkek
33ibipFg
11sK5cBR
LRyWVE5y
mE9aBNXB

View File

@@ -24,16 +24,31 @@ fi
new_tag="v${new_major}.0.0"
# Drei zufällige Änderungen durchführen
for i in {1..3}; do
random_string=$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 8)
echo "Zufallsstring $i: $random_string"
echo "$random_string" >> "$README_FILE"
git add "$README_FILE"
git commit -m "feat($i): Auto-Update $i: Zufallsstring $random_string"
git push
#for i in {1..3}; do
# random_string=$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 8)
# echo "Zufallsstring $i: $random_string"
# echo "$random_string" >> "$README_FILE"
#
# git add "$README_FILE"
# git commit -m "feat($random_string): Auto-Update Zufallsstring $random_string"
# git push
#done
TYPES=(chore docs feat fix refactor style test)
for type in "${TYPES[@]}"; do
for i in {1..3}; do
random_string=$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 8)
echo "Zufallsstring $i für Typ '$type': $random_string"
echo "$random_string" >> "$README_FILE"
git add "$README_FILE"
git commit -m "$type($random_string): Auto-Update Zufallsstring $random_string"
git push
done
done
# Tag erstellen und pushen
git tag "$new_tag"
git push origin "$new_tag"