This commit is contained in:
parent
d7bde78747
commit
beb6d659da
1 changed files with 2 additions and 8 deletions
|
@ -36,14 +36,6 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
cd builds
|
cd builds
|
||||||
tar -czvf linux.tar.gz -C linux/ .
|
tar -czvf linux.tar.gz -C linux/ .
|
||||||
- name: print info
|
|
||||||
run: |
|
|
||||||
ls
|
|
||||||
du -sh *
|
|
||||||
echo "---"
|
|
||||||
tree builds
|
|
||||||
echo "---"
|
|
||||||
echo
|
|
||||||
- name: create release
|
- name: create release
|
||||||
run: |
|
run: |
|
||||||
echo "Getting last Release Tag"
|
echo "Getting last Release Tag"
|
||||||
|
@ -62,6 +54,8 @@ jobs:
|
||||||
\"prerelease\": true,
|
\"prerelease\": true,
|
||||||
\"tag_name\": \"$VERSION\"
|
\"tag_name\": \"$VERSION\"
|
||||||
}")
|
}")
|
||||||
|
echo $ID
|
||||||
|
ID=$(echo $ID | jq -r '.id')
|
||||||
echo "Uploading Build to Release"
|
echo "Uploading Build to Release"
|
||||||
curl -X 'POST' \
|
curl -X 'POST' \
|
||||||
"https://git.euph.dev/api/v1/repos/${{ github.repository }}/releases/$ID/assets?name=Linux.tar.gz" \
|
"https://git.euph.dev/api/v1/repos/${{ github.repository }}/releases/$ID/assets?name=Linux.tar.gz" \
|
||||||
|
|
Loading…
Reference in a new issue