Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Commit

Permalink
Release scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
edulop committed May 28, 2019
1 parent 5a34b22 commit f3b77b1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
before:
hooks:
- make clean
- make packr
builds:
- binary: "terraform-provider-bless_{{ .Tag }}"
env:
Expand Down
10 changes: 9 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,15 @@ test: packr
packr:
packr

release: packr ## run a release
clean: ## clean the repo
rm terraform-provider-bless 2>/dev/null || true
go clean
rm -rf dist 2>/dev/null || true
packr clean
rm coverage.out 2>/dev/null || true


release: ## run a release
bff bump
git push
goreleaser release --rm-dist
Expand Down

0 comments on commit f3b77b1

Please sign in to comment.