File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ builds:
1111 - windows
1212 - darwin
1313 ldflags :
14- - " -w -s -X 'github.com/nowsecure/nowsecure-ci/cmd/ns/version.version=$ {{ .Version }}'"
14+ - " -w -s -X 'github.com/nowsecure/nowsecure-ci/cmd/ns/version.version={{ .Version }}'"
1515 # name template for the binaries
1616 binary : >-
1717 ns_{{ .Os }}-{{ .Arch }}
Original file line number Diff line number Diff line change 6161 typos && echo "0 issues."
6262 '' ;
6363 } ;
64+ test-release = pkgs . writeShellApplication {
65+ name = "test-release" ;
66+ runtimeInputs = [
67+ pkgs . goreleaser
68+ ] ;
69+ text = "goreleaser release --snapshot --clean" ;
70+ } ;
6471 }
6572 ) ;
6673
8390 pkgs . gotestsum
8491 pkgs . markdownlint-cli
8592 pkgs . gocover-cobertura
93+ pkgs . goreleaser
8694
8795 # Shell script helpers
8896 self . packages . ${ system } . checks
8997 self . packages . ${ system } . format
98+ self . packages . ${ system } . test-release
9099
91100 # Other
92101 pkgs . nixpkgs-fmt
You can’t perform that action at this time.
0 commit comments