Skip to content

Commit 76eefb4

Browse files
committed
add goreleaser
1 parent 72d3714 commit 76eefb4

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
dist
1+
dist
2+
goreleaser/*

.goreleaser.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
project_name: mattermost-plugin-statuspage
2+
3+
dist: goreleaser
4+
5+
builds:
6+
- skip: true
7+
8+
before:
9+
hooks:
10+
- make dist
11+
12+
checksum:
13+
name_template: "{{ .ProjectName }}_checksums.txt"
14+
extra_files:
15+
- glob: ./dist/statuspage*.tar.gz
16+
17+
release:
18+
prerelease: allow # remove this when we start publishing non-prerelease or set to auto
19+
draft: true # allow for manual edits
20+
github:
21+
owner: cpanato
22+
name: mattermost-plugin-statuspage
23+
24+
extra_files:
25+
- glob: ./dist/statuspage*.tar.gz

0 commit comments

Comments
 (0)