You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Download the binary from the latest release at [https://github.com/slsa-framework/slsa-verifier/releases/tag/v1.1.1](https://github.com/slsa-framework/slsa-verifier/releases/tag/v1.1.1)
39
+
Download the binary from the latest release at [https://github.com/slsa-framework/slsa-verifier/releases/tag/v1.2.0](https://github.com/slsa-framework/slsa-verifier/releases/tag/v1.2.0)
40
40
41
41
Download the [SHA256SUM.md](https://github.com/slsa-framework/slsa-verifier/blob/main/SHA256SUM.md).
42
42
@@ -76,9 +76,9 @@ $ go run . --help
76
76
### Example
77
77
78
78
```bash
79
-
$ go run . -artifact-path ~/Downloads/slsa-verifier-linux-amd64 -provenance ~/Downloads/slsa-verifier-linux-amd64.intoto.jsonl -source github.com/slsa-framework/slsa-verifier -tag v1.1.1
80
-
Verified signature against tlog entry index 2727751 at URL: https://rekor.sigstore.dev/api/v1/log/entries/8f3d898ef17d9c4c028fe3da09fb786c900bf786361e75432f325b4848fdba24
81
-
Verified build using builder https://github.com/slsa-framework/slsa-github-generator/.github/workflows/builder_go_slsa3.yml@refs/tags/v1.1.0 at commit 76a59d8413f27259b97298da91bbb6511fc775d1
79
+
$ go run . -artifact-path ~/Downloads/slsa-verifier-linux-amd64 -provenance ~/Downloads/slsa-verifier-linux-amd64.intoto.jsonl -source github.com/slsa-framework/slsa-verifier -tag v1.2.0
80
+
Verified signature against tlog entry index 3027785 at URL: https://rekor.sigstore.dev/api/v1/log/entries/0cdff5b6a013379f9c1c5c6c598ad73c60de5acd969ba70ea2e874098b6e789f
81
+
Verified build using builder https://github.com/slsa-framework/slsa-github-generator/.github/workflows/builder_go_slsa3.yml@refs/tags/v1.1.1 at commit fb9aeaf6384fd588e56ad90978fe025b3fd44849
Copy file name to clipboardExpand all lines: RELEASE.md
+20
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,10 @@ This is a document to describe the release process for the verifier.
14
14
15
15
## Publish release
16
16
17
+
Major and minor releases are released directly from the `main` branch. Patch versions are released from the `release/vX.Y` branch.
18
+
19
+
### New major or minor release
20
+
17
21
Create a new tag for the official generator via [slsa-framework/slsa-verifier/releases/new](https://github.com/slsa-framework/slsa-verifier/releases/new).
18
22
19
23
Use a "canonical" semantic version without metadata `vX.Y.Z`.
@@ -24,6 +28,20 @@ Click `Publish release`.
24
28
25
29
This will trigger a release workflow: wait until it completes and generates the binary and the provenance.
26
30
31
+
From the repository landing page, use the branch drop-down to create a branch from the tagged release with the format `release/vX.Y`. This will be used for backporting critical fixes and releases patch versions.
32
+
33
+
### New patch release
34
+
35
+
Critical patch fixes are released from the `release/vX.Y` branch. Once the backported fix has been merged, create a new tag for the official generator via [slsa-framework/slsa-verifier/releases/new](https://github.com/slsa-framework/slsa-verifier/releases/new). Use the `release/vX.Y` branch as the Target.
36
+
37
+
Use a "canonical" semantic version without metadata `vX.Y.Z`.
38
+
39
+
Set the title to `vX.Y.Z`.
40
+
41
+
Click `Publish release`.
42
+
43
+
This will trigger a release workflow: wait until it completes and generates the binary and the provenance.
44
+
27
45
## Verify provenance
28
46
29
47
Follow the steps:
@@ -38,6 +56,8 @@ $ cd slsa-verifier
38
56
$ go run . -artifact-path slsa-verifier-linux-amd64 -provenance slsa-verifier-linux-amd64.intoto.jsonl -source github.com/slsa-framework/slsa-verifier -tag vX.Y.Z
39
57
```
40
58
59
+
You should include the `-branch release/vX.Y` for patch version releases.
60
+
41
61
If the provenance verification fails, delete the release and the tag. Otherwise, continue.
0 commit comments