Compare commits
7 Commits
Author | SHA1 | Date | |
---|---|---|---|
4333f15808
|
|||
a084d9ef5b
|
|||
5f4e6d89ce
|
|||
2430ead654
|
|||
65ec77be9c
|
|||
e3cda73dc6
|
|||
5b8771a87d
|
@ -24,15 +24,15 @@ jobs:
|
||||
|
||||
- name: Create Release on Gitea
|
||||
env:
|
||||
GITEA_TOKEN: ${{ secrets.GIT_TOKEN }}
|
||||
GITEA_TOKEN: ${{ secrets.TOKEN }}
|
||||
run: |
|
||||
TAG=$(git describe --tags)
|
||||
REPO=${GITEA_REPOSITORY#*/}
|
||||
OWNER=${GITEA_REPOSITORY%/*}
|
||||
BODY=$(cat RELEASE_NOTES.md | jq -Rs .)
|
||||
|
||||
curl -X POST "https://dev.ksite.de/api/v1/repos/$OWNER/$REPO/releases" \
|
||||
-H "Authorization: token $GIT_TOKEN" \
|
||||
curl -X POST "https://dev.ksite.de/api/v1/repos/ralf.kirchner/demo/releases" \
|
||||
-H "Authorization: token $GITEA_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d "{
|
||||
\"tag_name\": \"$TAG\",
|
||||
|
Reference in New Issue
Block a user