File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change 3131
3232 build :
3333 name : Build Package
34+ if : github.event.head_commit.verification.verified == true
3435 runs-on : ubuntu-latest
3536 permissions :
3637 contents : read
6566 # verify version
6667 RELEASE_VERSION=$(just validate_version $TAG_NAME)
6768
68- # check that github has marked the tag as verified
69- export TAG_URL=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" https://api.github.com/repos/${{ github.repository_owner }}/${{ github.repository }}/git/refs/tags/$TAG_NAME | jq -r ".object.url")
70- verified=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" "$TAG_URL" | jq -r ".verification.verified")
71- if [ "$verified" != "true" ]; then
72- echo $TAG_URL
73- echo $verified
74- echo "Error: Tag verification failed." >&2
75- exit 1
76- fi
77-
7869 # export the release version
7970 echo "RELEASE_VERSION=${RELEASE_VERSION}" >> $GITHUB_ENV
8071 - name : Build the binary wheel and a source tarball
You can’t perform that action at this time.
0 commit comments