Release 0.3.1: network interception helpers, fix release-token secret name
- Bump package.json/lock to 0.3.1, move Unreleased CHANGELOG entries under it - Fix release CI job: secrets.GITEA_TOKEN can never be set (Gitea rejects that literal secret name), so the release job has been unable to create a Gitea release since it was added. Renamed to RELEASE_TOKEN throughout and set the secret on this repo. - Bump install-pin examples (README, docs/CONSUMER.md) to #v0.3.1
This commit is contained in:
@@ -121,7 +121,7 @@ jobs:
|
||||
}));
|
||||
')
|
||||
RESPONSE=$(curl -sS -X POST \
|
||||
-H "Authorization: token ${{ secrets.GITEA_TOKEN }}" \
|
||||
-H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d "$BODY_JSON" \
|
||||
"https://git.levkin.ca/api/v1/repos/ilia/playkit/releases")
|
||||
@@ -132,6 +132,6 @@ jobs:
|
||||
fi
|
||||
TARBALL=$(ls /tmp/levkin-playkit-*.tgz)
|
||||
curl -sS -X POST \
|
||||
-H "Authorization: token ${{ secrets.GITEA_TOKEN }}" \
|
||||
-H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" \
|
||||
-F "attachment=@${TARBALL}" \
|
||||
"https://git.levkin.ca/api/v1/repos/ilia/playkit/releases/${RELEASE_ID}/assets"
|
||||
|
||||
Reference in New Issue
Block a user