forked from rclone/rclone
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.goreleaser.yml
59 lines (55 loc) · 1.71 KB
/
.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Make sure to check the documentation at https://goreleaser.com
#
# To tag the current vault branch for upload, we use the following convention:
#
# $ git tag $(git tag -l | grep -E '^v[0-9\.]+$' | tail -1)-vault-$(date +"%Y%m%d%H%M%S")-$(git rev-parse --short HEAD)
#
# Example tag would be: v1.59.1-vault-20230131181542-1da70fdd1
#
# Where v1.59.1 is the latest tag of the master branch that this branch is rebased on.
version: 2
before:
hooks:
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
archives:
-
format: binary
name_template: >-
{{- .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end -}}
snapshot:
version_template: "{{ incpatch .Version }}-vault"
changelog:
disable: true
release:
github:
owner: internetarchive
name: rclone
disable: false
header: |
## Rclone with Vault support (experimental)
This is a release of Rclone with support for the [Vault
Digital Preservation System](https://webservices.archive.org/pages/vault), developed at the [Internet
Archive](https://archive.org).
Setup instructions for this tool can be found in the [README.md](https://github.com/internetarchive/rclone/blob/ia-wt-1168/backend/vault/README.md).
Note macOS users: We recommend to download the binary on the command line
with [curl](https://curl.se/) or [wget](https://www.gnu.org/software/wget/).
* Date: {{ .Date }}
* Version: {{ .Version }}
* Branch: {{ .Branch }}
* Tag: {{ .Tag }}
* Commit: {{ .FullCommit }}