Skip to content

Commit 2a8eec1

Browse files
committed
dev: add release target to Makefile
1 parent 34fa0b0 commit 2a8eec1

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.goreleaser.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ changelog:
4343
exclude:
4444
- '^docs:'
4545
- '^test:'
46+
- '^dev:'
4647
- 'README'
4748
- Merge pull request
4849
- Merge branch
@@ -65,4 +66,4 @@ brew:
6566
system "#{bin}/golangci-lint --version"
6667
6768
git:
68-
short_hash: true
69+
short_hash: true

Makefile

+5-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,8 @@ readme:
1414
check_generated:
1515
make readme && git diff --exit-code # check no changes
1616

17-
.PHONY: test
17+
release:
18+
rm -rf dist
19+
curl -sL https://git.io/goreleaser | bash
20+
21+
.PHONY: test

0 commit comments

Comments
 (0)