This commit is contained in:
@@ -32,6 +32,7 @@ jobs:
|
|||||||
|
|
||||||
- name: create release
|
- name: create release
|
||||||
run: |
|
run: |
|
||||||
|
apt update -y && apt install -y jq && \
|
||||||
RESPONSE=$(curl -X POST -H "Authorization: token ${{ secrets.PUBLISH_TOKEN }}" \
|
RESPONSE=$(curl -X POST -H "Authorization: token ${{ secrets.PUBLISH_TOKEN }}" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d '{
|
-d '{
|
||||||
@@ -42,7 +43,7 @@ jobs:
|
|||||||
"prerelease": false
|
"prerelease": false
|
||||||
}' \
|
}' \
|
||||||
https://git.mistox.net/api/v1/repos/derek/MistoxCom-Angular/releases) && \
|
https://git.mistox.net/api/v1/repos/derek/MistoxCom-Angular/releases) && \
|
||||||
RELEASE_ID=$(echo "$RESPONSE" | sed -n 's/.*"id":\([0-9]*\).*/\1/p')
|
RELEASE_ID=$(echo "$RESPONSE" | jq -r '.id')
|
||||||
|
|
||||||
- name: publish database
|
- name: publish database
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user