Compare commits

...

2 Commits

Author SHA1 Message Date
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

View File

@ -24,15 +24,15 @@ jobs:
- name: Create Release on Gitea - name: Create Release on Gitea
env: env:
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }} GITEA_TOKEN: ${{ secrets.GIT_TOKEN }}
run: | run: |
TAG=$(git describe --tags) TAG=$(git describe --tags)
REPO=${GITEA_REPOSITORY#*/} REPO=${GITEA_REPOSITORY#*/}
OWNER=${GITEA_REPOSITORY%/*} OWNER=${GITEA_REPOSITORY%/*}
BODY=$(cat RELEASE_NOTES.md | jq -Rs .) BODY=$(cat RELEASE_NOTES.md | jq -Rs .)
curl -X POST "https://gitea.example.com/api/v1/repos/$OWNER/$REPO/releases" \ curl -X POST "https://dev.ksite.de/api/v1/repos/ralf.kirchner/demo/releases" \
-H "Authorization: token $GITEA_TOKEN" \ -H "Authorization: token $GIT_TOKEN" \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \
-d "{ -d "{
\"tag_name\": \"$TAG\", \"tag_name\": \"$TAG\",