-
Notifications
You must be signed in to change notification settings - Fork 509
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🌱 Included arm64 release for darwin (#1157)
- Loading branch information
1 parent
3d9c599
commit c3d51a7
Showing
1 changed file
with
51 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,68 @@ | ||
project_name: scorecard | ||
env: | ||
- GO111MODULE=on | ||
- CGO_ENABLED=1 | ||
before: | ||
hooks: | ||
# You may remove this if you don't use go modules. | ||
- go mod download | ||
builds: | ||
- env: | ||
- CGO_ENABLED=0 | ||
goos: | ||
- linux | ||
- windows | ||
- darwin | ||
# List of combinations of GOOS + GOARCH + GOARM to ignore. | ||
# Default is empty. | ||
ignore: | ||
- goos: darwin | ||
goarch: 386 | ||
# CI should set VERSION_LDFLAGS to the output of ./scripts/version_ldflags | ||
ldflags: | ||
- -s -w {{.Env.VERSION_LDFLAGS}} | ||
archives: | ||
- replacements: | ||
linux: Linux | ||
386: i386 | ||
amd64: x86_64 | ||
|
||
- id: linux | ||
binary: scorecard-linux-{{ .Arch }} | ||
no_unique_dist_dir: true | ||
goos: | ||
- linux | ||
goarch: | ||
- amd64 | ||
- arm64 | ||
- 386 | ||
- arm | ||
ldflags: | ||
- -s -w {{.Env.VERSION_LDFLAGS}} | ||
|
||
- id: darwin | ||
binary: scorecard-darwin-{{ .Arch }} | ||
no_unique_dist_dir: true | ||
goos: | ||
- darwin | ||
goarch: | ||
- amd64 | ||
- arm64 | ||
ldflags: | ||
- -s -w {{.Env.VERSION_LDFLAGS}} | ||
|
||
- id: windows | ||
binary: scorecard-windows-{{ .Arch }} | ||
no_unique_dist_dir: true | ||
goos: | ||
- windows | ||
goarch: | ||
- amd64 | ||
- 386 | ||
- arm64 | ||
- arm | ||
ldflags: | ||
- -buildmode=exe | ||
- -s -w {{.Env.VERSION_LDFLAGS}} | ||
|
||
checksum: | ||
# Algorithm to be used. | ||
# Accepted options are sha256, sha512, sha1, crc32, md5, sha224 and sha384. | ||
# Default is sha256. | ||
name_template: "{{ .ProjectName }}_checksums.txt" | ||
algorithm: sha512 | ||
|
||
snapshot: | ||
name_template: SNAPSHOT-{{ .ShortCommit }} | ||
changelog: | ||
use: github | ||
# Set it to true if you wish to skip the changelog generation. | ||
# This may result in an empty release notes on GitHub/GitLab/Gitea. | ||
skip: false | ||
signs: | ||
- artifacts: checksum | ||
args: ["--batch", "-u", "{{ .Env.GPG_FINGERPRINT }}", "--output", "${signature}", "--detach-sign", "${artifact}"] | ||
|
||
release: | ||
footer: | | ||
### Thanks for all contributors! |