änderung url in realase.yaml
All checks were successful
Build Changelog and Release / release (push) Successful in 6s
All checks were successful
Build Changelog and Release / release (push) Successful in 6s
This commit is contained in:
@ -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/$OWNER/$REPO/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\",
|
||||||
|
Reference in New Issue
Block a user