forked from plentico/plenti
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
83 lines (83 loc) · 1.77 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# Goreleaser documentation can be found at http://goreleaser.com
before:
hooks:
- go mod download
- go generate ./...
- git diff
builds:
- id: linux-build
ldflags:
- -X github.com/plentico/plenti/cmd.Version={{.Tag}}
- -extldflags=-static
env:
- CGO_ENABLED=1
goos:
- linux
goarch:
- amd64
- id: darwin-build
ldflags:
- -s
- -X github.com/plentico/plenti/cmd.Version={{.Tag}}
env:
- CGO_ENABLED=1
- CC=/home/runner/work/osxcross/target/bin/o64-clang
- CXX=/home/runner/work/osxcross/target/bin/o64-clang++
goos:
- darwin
goarch:
- amd64
archives:
- replacements:
darwin: Mac
linux: Linux
#windows: Windows
386: 32-bit
amd64: 64-bit
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
brews:
-
name: plenti
tap:
owner: plentico
name: homebrew-plenti
homepage: "https://plenti.co/"
description: "Dead simple SSG with Svelte frontend and Go CLI."
snapcrafts:
-
id: plenti
name: plenti
publish: true # publish the snap to the snapcraft store.
summary: A simple static site generator for the JAMstack.
description: Dead simple SSG with Svelte frontend and Go CLI.
grade: stable
confinement: strict
license: Apache-2.0
# allow read/write to user's filesystem.
apps:
plenti:
plugs: ["home", "network-bind", "removable-media"]
#scoop:
# bucket:
# owner: plentico
# name: scoop-plenti
# description: "Dead simple SSG with Svelte frontend and Go CLI."
# license: Apache-2.0
dockers:
-
goos: linux
goarch: amd64
binaries:
- plenti
image_templates:
- "plentico/plenti:latest"
- "plentico/plenti:{{ .Tag }}"