Compare commits

..

133 Commits

Author SHA1 Message Date
7589ea155d test(yGSda4Dd): Auto-Update Zufallsstring yGSda4Dd
All checks were successful
Create Release / release (push) Successful in 8s
2025-05-29 14:51:54 +02:00
254175309a test(eHSwKLqV): Auto-Update Zufallsstring eHSwKLqV 2025-05-29 14:51:53 +02:00
610f7006ff test(pBXDrxI4): Auto-Update Zufallsstring pBXDrxI4 2025-05-29 14:51:52 +02:00
65788adf03 style(TxxjOw3R): Auto-Update Zufallsstring TxxjOw3R 2025-05-29 14:51:52 +02:00
365bd786ea style(iCDdGqXg): Auto-Update Zufallsstring iCDdGqXg 2025-05-29 14:51:51 +02:00
ad115e4ce7 style(a7Y0jlIF): Auto-Update Zufallsstring a7Y0jlIF 2025-05-29 14:51:50 +02:00
95d3a2bcb2 refactor(pkUxWG9z): Auto-Update Zufallsstring pkUxWG9z 2025-05-29 14:51:49 +02:00
9590357264 refactor(jE3URZIt): Auto-Update Zufallsstring jE3URZIt 2025-05-29 14:51:49 +02:00
a90f6c4006 refactor(y820bqY7): Auto-Update Zufallsstring y820bqY7 2025-05-29 14:51:48 +02:00
acb782fe65 fix(u5rrMXPW): Auto-Update Zufallsstring u5rrMXPW 2025-05-29 14:51:47 +02:00
1a9043a0aa fix(ETudR1Ka): Auto-Update Zufallsstring ETudR1Ka 2025-05-29 14:51:46 +02:00
9047d4c9a0 fix(ia5SO7e9): Auto-Update Zufallsstring ia5SO7e9 2025-05-29 14:51:46 +02:00
2b5c76dee1 feat(EM7Z0bbL): Auto-Update Zufallsstring EM7Z0bbL 2025-05-29 14:51:45 +02:00
000f2117b6 feat(pNpLc7EK): Auto-Update Zufallsstring pNpLc7EK 2025-05-29 14:51:44 +02:00
0184f94476 feat(VJDx7ehm): Auto-Update Zufallsstring VJDx7ehm 2025-05-29 14:51:44 +02:00
94f1c1c898 docs(wg4La02q): Auto-Update Zufallsstring wg4La02q 2025-05-29 14:51:43 +02:00
fdffb1a324 docs(BuF1a27H): Auto-Update Zufallsstring BuF1a27H 2025-05-29 14:51:42 +02:00
c55f70c216 docs(vwbswMQ2): Auto-Update Zufallsstring vwbswMQ2 2025-05-29 14:51:41 +02:00
1a97b4f98b chore(HR8Bkft3): Auto-Update Zufallsstring HR8Bkft3 2025-05-29 14:51:41 +02:00
87e4ccf7ed chore(utFjlSXV): Auto-Update Zufallsstring utFjlSXV 2025-05-29 14:51:40 +02:00
5859ef315e chore(2dRC4HAl): Auto-Update Zufallsstring 2dRC4HAl 2025-05-29 14:51:39 +02:00
64b27c52bf .chglog/CHANGELOG.tpl.md aktualisiert 2025-05-29 14:51:32 +02:00
51dc7f46b8 test(qAmElZY5): Auto-Update Zufallsstring qAmElZY5
Some checks failed
Create Release / release (push) Failing after 9s
2025-05-29 14:50:09 +02:00
d417d88f1c test(NNgUUpbN): Auto-Update Zufallsstring NNgUUpbN 2025-05-29 14:50:09 +02:00
956f97523d test(e36RGxzZ): Auto-Update Zufallsstring e36RGxzZ 2025-05-29 14:50:08 +02:00
7601cc4d3f style(OkJvooky): Auto-Update Zufallsstring OkJvooky 2025-05-29 14:50:07 +02:00
8b1f9ac2c0 style(56QxJ4yd): Auto-Update Zufallsstring 56QxJ4yd 2025-05-29 14:50:06 +02:00
5e171b31ef style(H1cq45y3): Auto-Update Zufallsstring H1cq45y3 2025-05-29 14:50:06 +02:00
6d1f1f6539 refactor(yLRwPGEp): Auto-Update Zufallsstring yLRwPGEp 2025-05-29 14:50:05 +02:00
6d4ab89240 refactor(Na665LsM): Auto-Update Zufallsstring Na665LsM 2025-05-29 14:50:04 +02:00
2222fd3897 refactor(C3HF8xv8): Auto-Update Zufallsstring C3HF8xv8 2025-05-29 14:50:04 +02:00
2e4de8528d fix(dr2gzL0S): Auto-Update Zufallsstring dr2gzL0S 2025-05-29 14:50:03 +02:00
468407e3df fix(szmM2X7q): Auto-Update Zufallsstring szmM2X7q 2025-05-29 14:50:02 +02:00
5826c2828c fix(vjM20TI5): Auto-Update Zufallsstring vjM20TI5 2025-05-29 14:50:01 +02:00
239d432ea1 feat(z9LXku4y): Auto-Update Zufallsstring z9LXku4y 2025-05-29 14:50:01 +02:00
5784e9de51 feat(tyg38Rrx): Auto-Update Zufallsstring tyg38Rrx 2025-05-29 14:50:00 +02:00
58e86d5486 feat(gaY1aAgr): Auto-Update Zufallsstring gaY1aAgr 2025-05-29 14:49:59 +02:00
a67c683dad docs(2KMWMkPh): Auto-Update Zufallsstring 2KMWMkPh 2025-05-29 14:49:58 +02:00
252643b51d docs(Icccrell): Auto-Update Zufallsstring Icccrell 2025-05-29 14:49:57 +02:00
eada5d90b5 docs(ISbgZkAn): Auto-Update Zufallsstring ISbgZkAn 2025-05-29 14:49:57 +02:00
b827306313 chore(ewC1iCdd): Auto-Update Zufallsstring ewC1iCdd 2025-05-29 14:49:56 +02:00
27876a66f5 chore(V1hCteXS): Auto-Update Zufallsstring V1hCteXS 2025-05-29 14:49:55 +02:00
e350af0f15 chore(yyWoIRox): Auto-Update Zufallsstring yyWoIRox 2025-05-29 14:49:55 +02:00
8c6be11a55 .chglog/CHANGELOG.tpl.md aktualisiert 2025-05-29 14:49:45 +02:00
386b81cd48 test(A8xzDwwB): Auto-Update Zufallsstring A8xzDwwB
Some checks failed
Create Release / release (push) Failing after 9s
2025-05-29 14:47:43 +02:00
f2f4392be4 test(gDCXl7AL): Auto-Update Zufallsstring gDCXl7AL 2025-05-29 14:47:42 +02:00
de7d5caba0 test(AxK2LTuK): Auto-Update Zufallsstring AxK2LTuK 2025-05-29 14:47:41 +02:00
375d47e0be style(YiKnfPp8): Auto-Update Zufallsstring YiKnfPp8 2025-05-29 14:47:41 +02:00
1d49b5a208 style(85hfE7Un): Auto-Update Zufallsstring 85hfE7Un 2025-05-29 14:47:40 +02:00
07e3a80db8 style(7HzymPqy): Auto-Update Zufallsstring 7HzymPqy 2025-05-29 14:47:39 +02:00
de2e3b26b0 refactor(AdKhF1rn): Auto-Update Zufallsstring AdKhF1rn 2025-05-29 14:47:38 +02:00
d8068b40cb refactor(QWL9FePY): Auto-Update Zufallsstring QWL9FePY 2025-05-29 14:47:38 +02:00
b6a28a0f5e refactor(yVN07HR1): Auto-Update Zufallsstring yVN07HR1 2025-05-29 14:47:37 +02:00
ad63a33a8b fix(8ix4vhr8): Auto-Update Zufallsstring 8ix4vhr8 2025-05-29 14:47:36 +02:00
89df683ec2 fix(s7yMcd1e): Auto-Update Zufallsstring s7yMcd1e 2025-05-29 14:47:35 +02:00
99b86bcbc8 fix(EEb56q5d): Auto-Update Zufallsstring EEb56q5d 2025-05-29 14:47:35 +02:00
6a4a60bfe4 feat(eyz331ef): Auto-Update Zufallsstring eyz331ef 2025-05-29 14:47:34 +02:00
e33e4764c6 feat(r719JiPt): Auto-Update Zufallsstring r719JiPt 2025-05-29 14:47:33 +02:00
8f1ef120cd feat(8tdpQolk): Auto-Update Zufallsstring 8tdpQolk 2025-05-29 14:47:32 +02:00
477667f7dd docs(BMV5qiY4): Auto-Update Zufallsstring BMV5qiY4 2025-05-29 14:47:32 +02:00
88d2eed2c1 docs(ojfoKm2n): Auto-Update Zufallsstring ojfoKm2n 2025-05-29 14:47:31 +02:00
5e29c5ade9 docs(spY8Urh2): Auto-Update Zufallsstring spY8Urh2 2025-05-29 14:47:30 +02:00
471e61f177 chore(djK6QdEp): Auto-Update Zufallsstring djK6QdEp 2025-05-29 14:47:30 +02:00
504f400789 chore(egoogksx): Auto-Update Zufallsstring egoogksx 2025-05-29 14:47:29 +02:00
93c0dd120c chore(2D7AuOhE): Auto-Update Zufallsstring 2D7AuOhE 2025-05-29 14:47:23 +02:00
2b3cbb4978 .chglog/CHANGELOG.tpl.md aktualisiert 2025-05-29 14:47:13 +02:00
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
108afd6b19 feat(3): Auto-Update 3: Zufallsstring x3Gpbeek
All checks were successful
Create Release / release (push) Successful in 9s
2025-05-29 13:41:55 +02:00
c65a5e8c15 feat(2): Auto-Update 2: Zufallsstring 7eNev7oo 2025-05-29 13:41:55 +02:00
ab22aaacb3 feat(1): Auto-Update 1: Zufallsstring tR0o43E3 2025-05-29 13:41:54 +02:00
0ebe97a116 fix(autopost): Script angepasst 2025-05-29 13:41:34 +02:00
87b5548690 feat(autopost): Script für autmatisierung 2025-05-29 13:40:03 +02:00
31c1e92935 feat(test8): test 8
All checks were successful
Create Release / release (push) Successful in 8s
2025-05-29 12:58:35 +02:00
d771a60b9e Merge branch 'main' of https://dev.ksite.de/ralf.kirchner/demo 2025-05-29 12:56:59 +02:00
943015b0a1 feat(test6): test 6 2025-05-29 12:54:47 +02:00
c59a710352 .gitea/workflows/release.yml aktualisiert 2025-05-29 12:53:48 +02:00
94eb4f63cb feat(test5): test
All checks were successful
Create Release / release (push) Successful in 7s
2025-05-29 12:46:00 +02:00
2ddb1fd386 feat(test4): test 4 2025-05-29 12:44:50 +02:00
285811d18d .gitea/workflows/release.yml aktualisiert
All checks were successful
Create Release / release (push) Successful in 8s
2025-05-29 12:37:10 +02:00
3feaaff790 .gitea/workflows/release.yml aktualisiert 2025-05-29 12:36:32 +02:00
406fe1185b .gitea/workflows/release.yml aktualisiert
All checks were successful
Create Release / release (push) Successful in 7s
2025-05-29 12:30:57 +02:00
c1acb90180 .gitea/workflows/release.yml aktualisiert
Some checks failed
Create Release / release (push) Failing after 8s
2025-05-29 12:29:38 +02:00
8f88f5ac4c .gitea/workflows/release.yml aktualisiert
All checks were successful
Create Release / release (push) Successful in 8s
2025-05-29 12:23:46 +02:00
0391802f1b .gitea/workflows/release.yml aktualisiert
All checks were successful
Create Release / release (push) Successful in 8s
2025-05-29 12:19:23 +02:00
4 changed files with 259 additions and 56 deletions

View File

@ -1,42 +1,41 @@
{{ 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 }}
[{{ .Hash | printf "%.7s" }}]({{ $.Info.RepositoryURL }}/commit/{{ .Hash }})
{{ end }}
{{ end -}}
{{ if .MergeCommits }}
### Pull Requests
{{ range .MergeCommits }}
- {{ .Header }}
{{ end }}
{{ end }}
{{ if .RevertCommits }}
{{- if .RevertCommits -}}
### Reverts
{{ range .RevertCommits }}
- {{ .Revert.Header }}
{{ range .RevertCommits -}}
* {{ .Revert.Header }}
[{{ .Hash | printf "%.7s" }}]({{ $.Info.RepositoryURL }}/commit/{{ .Hash }})
{{ end }}
{{ end -}}
{{- if .MergeCommits -}}
### Pull Requests
{{ range .MergeCommits -}}
* {{ .Header }}
[PR #{{ .PullRequestNumber }}]({{ $.Info.RepositoryURL }}/pull/{{ .PullRequestNumber }})
{{ 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*' # Startet nur bei Tags wie v1.0.0
- 'v*' # Nur bei Tags wie v1.0.0, v2.0.0
jobs:
release:
@ -11,18 +11,29 @@ jobs:
steps:
- name: Enable debug output
run: |
set -x
run: set -x
- name: Checkout source
- name: Checkout full history including tags
uses: actions/checkout@v3
with:
fetch-depth: 0
fetch-tags: true
- name: Extract repository info
- name: Show environment variables for debugging
run: |
echo "REPO=${GITEA_REPOSITORY#*/}" >> $GITEA_ENV
echo "OWNER=${GITEA_REPOSITORY%/*}" >> $GITEA_ENV
echo "GIT_REMOTE_URL=$(git config --get remote.origin.url)"
echo "GITHUB_REF=$GITHUB_REF"
- name: Install git-chglog (no Go needed)
- name: Extract OWNER and REPO from git remote URL
id: repo-info
run: |
REMOTE_URL=$(git config --get remote.origin.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
- name: Install git-chglog binary (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
@ -30,33 +41,53 @@ jobs:
chmod +x git-chglog
sudo mv git-chglog /usr/local/bin/
- name: Show git-chglog version
run: git-chglog --version
- name: Generate CHANGELOG.md for current tag
- name: Determine current and previous tag
id: tags
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
CURRENT_TAG="${GITHUB_REF##*/}"
PREVIOUS_TAG=$(git describe --tags --abbrev=0 "${CURRENT_TAG}^" 2>/dev/null || true)
- name: Create Gitea Release via API (no Go required)
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 CHANGELOG.md
run: |
# Optional: kompletter Changelog (nicht für Release-Body)
git-chglog -o CHANGELOG.md
# Nur der relevante Abschnitt zwischen Tags
if [ -n "$PREVIOUS_TAG" ]; then
git-chglog "$PREVIOUS_TAG..$CURRENT_TAG" > RELEASE_BODY.md
else
git-chglog "$CURRENT_TAG" > RELEASE_BODY.md
fi
echo "Release changelog content:"
cat RELEASE_BODY.md
- name: Create Gitea Release via API
env:
TOKEN: ${{ secrets.TOKEN }}
GITEA_REPOSITORY: ${{ env.GITEA_REPOSITORY }}
OWNER: ${{ env.OWNER }}
REPO: ${{ env.REPO }}
CURRENT_TAG: ${{ env.CURRENT_TAG }}
run: |
OWNER="${GITEA_REPOSITORY%%/*}"
REPO="${GITEA_REPOSITORY##*/}"
TAG=${GITHUB_REF##*/} # aktueller Tagname
echo "Owner: $OWNER, Repo: $REPO, Tag: $TAG"
curl -X POST "https://dev.ksite.de/api/v1/repos/${OWNER}/${REPO}/releases" \
# Base64-encode und sicher escapen für JSON
BODY=$(base64 -w0 RELEASE_BODY.md)
DECODED_BODY=$(echo "$BODY" | base64 -d | jq -Rs .)
echo "Creating release for tag $CURRENT_TAG"
curl -s -X POST "https://dev.ksite.de/api/v1/repos/${OWNER}/${REPO}/releases" \
-H "Content-Type: application/json" \
-H "Authorization: token $TOKEN" \
-d @- <<EOF
{
"tag_name": "${TAG}",
"name": "${TAG}",
"body": "$(sed 's/"/\\"/g' CHANGELOG.md)"
"tag_name": "${CURRENT_TAG}",
"name": "${CURRENT_TAG}",
"body": ${DECODED_BODY}
}
EOF

119
README.md
View File

@ -4,5 +4,122 @@
Das ist ein Test
Test 01
test 03
Test 03
Test 04
Test 05
Test 06
Test 07
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
2D7AuOhE
egoogksx
djK6QdEp
spY8Urh2
ojfoKm2n
BMV5qiY4
8tdpQolk
r719JiPt
eyz331ef
EEb56q5d
s7yMcd1e
8ix4vhr8
yVN07HR1
QWL9FePY
AdKhF1rn
7HzymPqy
85hfE7Un
YiKnfPp8
AxK2LTuK
gDCXl7AL
A8xzDwwB
yyWoIRox
V1hCteXS
ewC1iCdd
ISbgZkAn
Icccrell
2KMWMkPh
gaY1aAgr
tyg38Rrx
z9LXku4y
vjM20TI5
szmM2X7q
dr2gzL0S
C3HF8xv8
Na665LsM
yLRwPGEp
H1cq45y3
56QxJ4yd
OkJvooky
e36RGxzZ
NNgUUpbN
qAmElZY5
2dRC4HAl
utFjlSXV
HR8Bkft3
vwbswMQ2
BuF1a27H
wg4La02q
VJDx7ehm
pNpLc7EK
EM7Z0bbL
ia5SO7e9
ETudR1Ka
u5rrMXPW
y820bqY7
jE3URZIt
pkUxWG9z
a7Y0jlIF
iCDdGqXg
TxxjOw3R
pBXDrxI4
eHSwKLqV
yGSda4Dd

56
autopost.sh Executable file
View File

@ -0,0 +1,56 @@
#!/bin/bash
set -e
# Sicherstellen, dass wir uns in einem Git-Repo befinden
if ! git rev-parse --is-inside-work-tree &>/dev/null; then
echo "Dieses Skript muss in einem Git-Repository ausgeführt werden."
exit 1
fi
README_FILE="README.md"
# Aktuelles höchstes semver-Tag im Format vX.Y.Z finden
latest_tag=$(git tag | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+$' | sort -V | tail -n 1)
if [[ $latest_tag =~ ^v([0-9]+)\.([0-9]+)\.([0-9]+)$ ]]; then
major=${BASH_REMATCH[1]}
# Version erhöhen (nur Major erhöhen, Minor & Patch = 0)
new_major=$((major + 1))
else
new_major=1
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($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"
echo "Fertig! Neues semver-Tag erstellt: $new_tag"