This commit is contained in:
@@ -32,6 +32,7 @@ jobs:
|
||||
|
||||
- name: create release
|
||||
run: |
|
||||
apt update -y && apt install -y jq && \
|
||||
RESPONSE=$(curl -X POST -H "Authorization: token ${{ secrets.PUBLISH_TOKEN }}" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{
|
||||
@@ -42,7 +43,7 @@ jobs:
|
||||
"prerelease": false
|
||||
}' \
|
||||
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
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user