github: enable run goreleaser automatically when bump new tag
Change-Id: Ieedeb07dcacf8ff7e6ae58a86c7072af0caf3f78
Reviewed-on: https://cue-review.googlesource.com/c/cue/+/4781
Reviewed-by: Marcel van Lohuizen <mpvl@golang.org>
diff --git a/.goreleaser.yml b/.goreleaser.yml
index 15fb67a..9b90e3a 100644
--- a/.goreleaser.yml
+++ b/.goreleaser.yml
@@ -1,11 +1,9 @@
-# This is an example goreleaser.yaml file with some sane defaults.
-# Make sure to check the documentation at http://goreleaser.com
+project_name: cue
+
before:
hooks:
- go mod download
- # you may remove this if you don't need go generate
- - go generate ./...
- - go fmt ./...
+
builds:
- env:
- CGO_ENABLED=0
@@ -43,6 +41,9 @@
- goos: windows
format: zip
+release:
+ disable: false
+
checksum:
name_template: 'checksums.txt'