chore(make): update release and all to leverage --config

This commit is contained in:
Poe Rhiza
2021-06-29 22:36:08 -04:00
parent 77919c1b7e
commit 864c3a25cf
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
dist/
*.swp
.idea/
chisel
+2 -2
View File
@@ -12,7 +12,7 @@ GOFILESNOTEST=`go list ./... | grep -v test`
$(shell mkdir -p ${DIR})
all:
@goreleaser --skip-publish --config .github/goreleaser.yml
@goreleaser build --skip-validate --single-target --config .github/goreleaser.yml
freebsd: lint
env CGO_ENABLED=0 GOOS=freebsd GOARCH=amd64 go build -trimpath ${LDFLAGS} ${GCFLAGS} ${ASMFLAGS} -o ${DIR}/chisel-freebsd_amd64 .
@@ -46,7 +46,7 @@ test: ## Run unit tests
@gocover-cobertura < ${DIR}/coverage.out > ${DIR}/coverage.xml
release: lint test
goreleaser release
goreleaser release --config .github/goreleaser.yml
clean:
rm -rf ${DIRBASE}/*