There was an error while loading. Please reload this page.
1 parent c7ea705 commit 7c04f78Copy full SHA for 7c04f78
1 file changed
.github/workflows/release.yml
@@ -31,8 +31,11 @@ jobs:
31
RELEASE_TAG: ${{ github.ref_name }}
32
run: |
33
[[ "$RELEASE_TAG" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]
34
- test "$(git cat-file -t "$RELEASE_TAG")" = tag
35
- test "$(git rev-list -n 1 "$RELEASE_TAG")" = "$GITHUB_SHA"
+ release_verify_ref="refs/tags/release-verify"
+ git fetch --force --no-tags origin "refs/tags/$RELEASE_TAG:$release_verify_ref"
36
+ test "$(git cat-file -t "$release_verify_ref")" = tag
37
+ test "$(git rev-list -n 1 "$release_verify_ref")" = "$GITHUB_SHA"
38
+ test "$(git rev-parse HEAD)" = "$GITHUB_SHA"
39
go run ./cmd/manifest-validator components.json
40
go test ./...
41
go vet ./...
0 commit comments