Skip to content

Commit 33de1d3

Browse files
committed
Add GoReleaser configuration
1 parent ef7ba1d commit 33de1d3

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.goreleaser.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
before:
2+
hooks:
3+
- go mod tidy
4+
5+
builds:
6+
- main: main.go
7+
binary: sqlmapsh
8+
id: sqlmapsh
9+
10+
env:
11+
- CGO_ENABLED=0
12+
13+
goos: [windows,linux,darwin]
14+
goarch: [amd64,386,arm,arm64]
15+
ignore:
16+
- goos: darwin
17+
goarch: 386
18+
- goos: windows
19+
goarch: arm
20+
- goos: windows
21+
goarch: arm64
22+
23+
archives:
24+
- format: zip
25+
id: sqlmapsh
26+
builds: [sqlmapsh]
27+
name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
28+
replacements:
29+
darwin: macOS
30+
linux: Linux
31+
windows: Windows
32+
386: i386
33+
amd64: x86_64
34+
35+
checksum:
36+
algorithm: sha256

0 commit comments

Comments
 (0)