File tree 2 files changed +87
-0
lines changed
2 files changed +87
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ name : " Release for Windows"
3
+ on : # yamllint disable-line rule:truthy
4
+ push :
5
+ tags :
6
+ - " v[0-9]+.[0-9]+.[0-9]+"
7
+ permissions :
8
+ contents : " write"
9
+ packages : " write"
10
+ jobs :
11
+ release-windows :
12
+ runs-on : " windows-latest"
13
+ steps :
14
+ - uses : " actions/checkout@v4"
15
+ with :
16
+ fetch-depth : 0
17
+ - uses : " authzed/actions/setup-go@main"
18
+ - uses : " nowsprinting/check-version-format-action@v4"
19
+ id : " version"
20
+ with :
21
+ prefix : " v"
22
+ - uses : " authzed/actions/docker-login@main"
23
+ with :
24
+ quayio_token : " ${{ secrets.QUAYIO_PASSWORD }}"
25
+ github_token : " ${{ secrets.GITHUB_TOKEN }}"
26
+ dockerhub_token : " ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}"
27
+ - uses : " goreleaser/goreleaser-action@v6"
28
+ with :
29
+ distribution : " goreleaser-pro"
30
+ # NOTE: keep in sync with goreleaser version in other job.
31
+ # github actions don't allow yaml anchors.
32
+ version : " v2.3.2"
33
+ args : " release --clean --config=.goreleaser.windows.yml"
34
+ env :
35
+ GITHUB_TOKEN : " ${{ secrets.GITHUB_TOKEN }}"
36
+ GORELEASER_KEY : " ${{ secrets.GORELEASER_KEY }}"
37
+ CHOCOLATEY_API_KEY : " ${{ secrets.CHOCOLATEY_API_KEY }}"
Original file line number Diff line number Diff line change
1
+ ---
2
+ version : 2
3
+ git :
4
+ tag_sort : " -version:creatordate"
5
+ prerelease_suffix : " -"
6
+ builds :
7
+ - main : " ./cmd/zed"
8
+ env :
9
+ - " CGO_ENABLED=0"
10
+ goos :
11
+ - " windows"
12
+ goarch :
13
+ - " amd64"
14
+ mod_timestamp : " {{ .CommitTimestamp }}"
15
+ ldflags :
16
+ - " -s -w"
17
+ - " -X github.com/jzelinskie/cobrautil/v2.Version=v{{ .Version }}"
18
+ archives :
19
+ - files :
20
+ - " README.md"
21
+ - " LICENSE"
22
+ format_overrides :
23
+ - goos : " windows"
24
+ formats : ["zip"]
25
+
26
+ chocolateys :
27
+ - name : " zed"
28
+ package_source_url : " https://github.com/authzed/zed"
29
+ owners : " AuthZed, Inc"
30
+ title : " Zed"
31
+ project_url : " https://github.com/authzed/zed"
32
+ url_template : " https://github.com/authzed/zed/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
33
+ icon_url : " https://authzed.com/favicon.svg"
34
+ copyright : " 2025 AuthZed Inc."
35
+ authors : " Zed Contributors"
36
+ license_url : " https://github.com/authzed/zed/blob/main/LICENSE"
37
+ project_source_url : " https://github.com/authzed/zed"
38
+ docs_url : " https://authzed.com/docs"
39
+ bug_tracker_url : " https://github.com/authzed/zed/issues"
40
+ tags : " spicedb zanzibar authz rebac rbac abac fga cli command-line-tool"
41
+ summary : " Official command-line tool for managing SpiceDB"
42
+ description : |
43
+ Open Source command-line client for managing SpiceDB clusters, built by AuthZed.
44
+ release_notes : " https://github.com/authzed/zed/releases/tag/v{{ .Version }}"
45
+ api_key : " {{ .Env.CHOCOLATEY_API_KEY }}"
46
+ source_repo : " https://push.chocolatey.org/"
47
+ checksum :
48
+ name_template : " windows_checksums.txt"
49
+ snapshot :
50
+ version_template : " {{ incpatch .Version }}-next"
You can’t perform that action at this time.
0 commit comments