-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Martin Baillie <[email protected]>
- Loading branch information
1 parent
ef9e7ba
commit 537597d
Showing
13 changed files
with
920 additions
and
834 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,4 +1 @@ | ||
if ! has nix_direnv_version || ! nix_direnv_version 2.0.0; then | ||
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.0.0/direnvrc" "sha256-gMHKKyEOq/T0XmHKgz+pN+fUQC/1EKPAuOtYM95lLnU=" | ||
fi | ||
use flake |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
github: [ martinbaillie ] |
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
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 |
---|---|---|
@@ -0,0 +1,57 @@ | ||
gomod: | ||
proxy: true | ||
|
||
report_sizes: false | ||
|
||
builds: | ||
- goos: | ||
- darwin | ||
- windows | ||
- linux | ||
- freebsd | ||
- netbsd | ||
- openbsd | ||
- solaris | ||
goarch: | ||
- "386" | ||
- amd64 | ||
- arm | ||
- arm64 | ||
mod_timestamp: "{{ .CommitTimestamp }}" | ||
flags: | ||
- -trimpath | ||
ldflags: | ||
- -s | ||
- -w | ||
- -extldflags | ||
- -static | ||
- -X {{.ModulePath}}/github.projectName={{.ProjectName}} | ||
- -X {{.ModulePath}}/github.projectDocs=https://{{.ModulePath}} | ||
- -X github.com/prometheus/common/version.BuildDate={{.Date}} | ||
- -X github.com/prometheus/common/version.Revision={{.Commit}} | ||
- -X github.com/prometheus/common/version.Version={{.Version}} | ||
- -X github.com/prometheus/common/version.Branch={{.Branch}} | ||
- -X github.com/prometheus/common/version.BuildUser={{.Env.USER}} | ||
no_unique_dist_dir: true | ||
binary: "{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}" | ||
|
||
archives: | ||
- format: binary | ||
name_template: "{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}" | ||
|
||
checksum: | ||
name_template: 'SHA256SUMS' | ||
algorithm: sha256 | ||
|
||
signs: | ||
- id: sha256 | ||
artifacts: checksum | ||
|
||
sboms: | ||
- artifacts: binary | ||
|
||
snapshot: | ||
name_template: "{{ incpatch .Version }}-rc" | ||
|
||
release: | ||
draft: true |
Oops, something went wrong.