Compare commits
11 Commits
Author | SHA1 | Date | |
---|---|---|---|
08121dec64
|
|||
f1e9fa1a0a
|
|||
9df008366e
|
|||
4333f15808
|
|||
a084d9ef5b
|
|||
5f4e6d89ce
|
|||
2430ead654
|
|||
65ec77be9c
|
|||
e3cda73dc6
|
|||
5b8771a87d
|
|||
87f6046cfd
|
@ -24,14 +24,14 @@ jobs:
|
|||||||
|
|
||||||
- name: Create Release on Gitea
|
- name: Create Release on Gitea
|
||||||
env:
|
env:
|
||||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
GITEA_TOKEN: ${{ secrets.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 $GITEA_TOKEN" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d "{
|
-d "{
|
||||||
|
Reference in New Issue
Block a user