Skip to content

Commit

Permalink
fixed canary
Browse files Browse the repository at this point in the history
  • Loading branch information
yapishu committed Jan 30, 2025
1 parent 64f8294 commit 6aef6ea
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/slsa3-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,11 @@ jobs:
curl -X PUT -H "X-Api-Key: ${VERSION_AUTH}" -H 'Content-Type: application/json' \
"https://${VERSION_SERVER}/modify/groundseg/${{ needs.args.outputs.channel }}/groundseg/slsa_url/payload" \
-d "{\"value\":\"https://files.native.computer/bin/groundseg_${{ needs.args.outputs.channel }}_${{ needs.args.outputs.bin-tag }}.jsonl\"}"
if [[ "${{github.event.inputs.to_canary}}" -eq "true" ]]; then
curl -X PUT -H "X-Api-Key: ${VERSION_AUTH}" -H 'Content-Type: application/json' \
"https://${VERSION_SERVER}/modify/groundseg/canary/groundseg/slsa_url/payload" \
-d "{\"value\":\"https://files.native.computer/bin/groundseg_${{ needs.args.outputs.channel }}_${{ needs.args.outputs.bin-tag }}.jsonl\"}"
fi
VERSION=$(echo "${{ needs.args.outputs.bin-tag }}" | sed 's/-rc[0-9]*//')
MAJOR=$(echo "$VERSION" | cut -d'.' -f1 | sed 's/v//')
MINOR=$(echo "$VERSION" | cut -d'.' -f2)
Expand Down

0 comments on commit 6aef6ea

Please sign in to comment.