-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yaml
52 lines (45 loc) · 1.17 KB
/
.goreleaser.yaml
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
project_name: go-gallery
before:
hooks:
- go mod download
builds:
- id: go-gallery
main: ./gallery.go
binary: go-gallery
goos:
- linux
- darwin
goarch:
- amd64
env:
- CGO_ENABLED=0
dockers:
- goos: linux
goarch: amd64
image_templates:
- "creekorful/go-gallery:latest"
- "creekorful/go-gallery:{{ replace .Tag \"v\" \"\" }}"
- "creekorful/go-gallery:{{ .Major }}"
skip_push: false
brews:
- name: go-gallery
tap:
owner: creekorful
name: homebrew-packages
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
url_template: "https://github.com/creekorful/go-gallery/releases/download/{{ .Tag }}/{{ replace .ArtifactName \"v\" \"\" }}"
download_strategy: CurlDownloadStrategy
folder: Formula
homepage: "https://github.com/creekorful/go-gallery"
description: "Generate a photography portfolio website for your photos"
license: "GPL-3.0-only"
test: |
system "#{bin}/go-gallery", "-h"
install: |
bin.install "go-gallery"
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-{{ .ShortCommit }}"
release:
prerelease: true