Skip to content

Commit

Permalink
change goreleaser file
Browse files Browse the repository at this point in the history
  • Loading branch information
hugefiver committed Jul 19, 2024
1 parent 85f141d commit b00ea84
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 12 deletions.
9 changes: 5 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,13 @@ builds:
- -trimpath

- <<: *default
id: nogitserver
id: minimal
skip: false
flags:
- -trimpath
tags:
- ignore_gitserver
- no_gitserver
- no_fakeshell

archives:
- id: default
Expand All @@ -77,9 +78,9 @@ archives:
files:
- LICENSE

- id: nogitserver
- id: minimal
builds:
- nogitserver
- minimal
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if not (eq .Amd64 \"v1\") }}{{ .Amd64 }}{{ end }}_minimal"
format_overrides:
- goos: windows
Expand Down
4 changes: 2 additions & 2 deletions modules/fakeshell/module.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build !ignore_fakeshell
// +build !ignore_fakeshell
//go:build !no_fakeshell
// +build !no_fakeshell

package fakeshell

Expand Down
4 changes: 2 additions & 2 deletions modules/fakeshell/module_ignore.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build ignore_fakeshell
// +build ignore_fakeshell
//go:build no_fakeshell
// +build no_fakeshell

package fakeshell

Expand Down
4 changes: 2 additions & 2 deletions modules/gitserver/module.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build !ignore_gitserver
// +build !ignore_gitserver
//go:build !no_gitserver
// +build !no_gitserver

package gitserver

Expand Down
4 changes: 2 additions & 2 deletions modules/gitserver/module_ignore.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build ignore_gitserver
// +build ignore_gitserver
//go:build no_gitserver
// +build no_gitserver

package gitserver

Expand Down

0 comments on commit b00ea84

Please sign in to comment.