Skip to content

Commit 77e9bf3

Browse files
Rodrigo NavarroRodrigo Navarro
authored andcommitted
feat(ci): add goreleaser yaml file
1 parent 676354e commit 77e9bf3

File tree

2 files changed

+39
-9
lines changed

2 files changed

+39
-9
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
src
22
dist
33
node_modules
4-
commit-message-formatter
4+
commit-message-formatter
5+
dist/

.goreleaser.yml

Lines changed: 37 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,41 @@
1-
# Build customization
2-
project_name: cmf
1+
# This is an example .goreleaser.yml file with some sane defaults.
2+
# Make sure to check the documentation at http://goreleaser.com
3+
before:
4+
hooks:
5+
# You may remove this if you don't use go modules.
6+
- go mod tidy
37
builds:
4-
- binary: cmf
8+
- env:
9+
- CGO_ENABLED=0
10+
binary: git-cmf
11+
ldflags:
12+
- -a -installsuffix
513
goos:
14+
- linux
615
- windows
716
- darwin
8-
- linux
9-
goarch:
10-
- amd64
11-
ldflags:
12-
- -a -installsuffix
17+
archives:
18+
- replacements:
19+
darwin: Darwin
20+
linux: Linux
21+
windows: Windows
22+
386: i386
23+
amd64: x86_64
24+
checksum:
25+
name_template: 'checksums.txt'
26+
snapshot:
27+
name_template: "{{ .Tag }}-next"
28+
changelog:
29+
sort: asc
30+
filters:
31+
exclude:
32+
- '^docs:'
33+
- '^test:'
34+
brews:
35+
- name: git-cmf
36+
github:
37+
owner: walmartdigital
38+
name: https://github.com/walmartdigital/homebrew-git-cmf
39+
folder: Formula
40+
homepage: https://github.com/walmartdigital/commit-message-formatter
41+
description: A simple description of your application.

0 commit comments

Comments
 (0)