parent
12f020b0c8
commit
d98f3e4be2
6
.github/workflows/build_and_release.yml
vendored
6
.github/workflows/build_and_release.yml
vendored
@ -30,9 +30,11 @@ jobs:
|
||||
- name: Create release!
|
||||
run: |
|
||||
echo """release_id=$(\
|
||||
curl -s https://git.joekaufeld.com/api/v1/repos/${GITHUB_REPOSITORY%/*}/${{ github.event.repository.name }}/releases \
|
||||
curl -X POST \
|
||||
-s https://git.joekaufeld.com/api/v1/repos/${GITHUB_REPOSITORY%/*}/${{ github.event.repository.name }}/releases \
|
||||
-H "Authorization: token ${{ secrets.PAT }}" \
|
||||
-d tag_name=${{ env.CURRENT_TIME_VERSION }} \
|
||||
-H 'Content-Type: application/json' \
|
||||
-d '{"tag_name":"${{ env.CURRENT_TIME_VERSION }}","name":"${{ env.CURRENT_TIME_VERSION }}","body":"it\'s releasin\' time"}'
|
||||
| python3 -c "import sys, json; print(json.load(sys.stdin)['id'])"\
|
||||
)""" >> $GITHUB_ENV
|
||||
- name: Upload assets!
|
||||
|
Loading…
Reference in New Issue
Block a user