Skip to content

Commit afc60db

Browse files
committed
chore: goreleaser config
1 parent a0cea44 commit afc60db

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.goreleaser.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
project_name: hapi
2+
version: 2
3+
archives:
4+
- name_template: "hapi-{{ .Version }}-{{ .Os }}-{{ .Arch }}"
5+
format_overrides:
6+
- goos: windows
7+
format: zip
8+
files: [a-workaround-to-include-only-the-binary*]
9+
wrap_in_directory: false
10+
11+
source:
12+
enabled: true
13+
name_template: 'hapi-{{ .Version }}-source'
14+
15+
checksum:
16+
name_template: "hapi-{{ .Version }}-checksums.sha256"
17+
18+
#dockers:
19+
# - dockerfile: Dockerfile.goreleaser
20+
# image_templates:
21+
# - "hostinger/hapi:latest"
22+
# - "hostinger/hapi:{{ .Major }}-latest"
23+
# - "hostinger/hapi:{{ .Version }}"
24+
25+
release:
26+
github:
27+
owner: hostinger
28+
name: api-cli
29+
30+
changelog:
31+
disable: false

0 commit comments

Comments
 (0)