-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
39 lines (39 loc) · 990 Bytes
/
.goreleaser.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# .goreleaser.yml
version: 2.0
project_name: shamir
builds:
# The Zig executable name (specified in build.zig)
- binary: shamir
# We should be able to use this, no go-dummy, but it seems broken right now
#builder: prebuilt
gobinary: ./.goreleaser/go-dummy
main: ./.goreleaser/dummy.go
goos:
- darwin
- linux
- windows
goarch:
- amd64
- arm64
goamd64:
- v1
hooks:
# This is called for every architecture.
# eg: ./build.sh linux_amd64 csv2json
post: ./.goreleaser/build.sh "{{ .Os }}" "{{ .Arch }}" "{{ .ProjectName }}" "{{ .Arm }}"
archives:
- format: tar.gz
# Additional static to bundle in the release.
files:
- README.md
# - LICENSE
brews:
- name: shamir
homepage: https://github.com/aidanaden/shamir-zig
description: |
Shamir Secret Sharing CLI tool
repository:
owner: aidanaden
name: homebrew-tools
install: |-
bin.install "shamir"