Skip to content

Commit

Permalink
make: missing release operation
Browse files Browse the repository at this point in the history
  • Loading branch information
mvisonneau committed Apr 18, 2024
1 parent 07c175a commit dc2f967
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/prerelease.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ trap cleanup EXIT
# Build the binaries using a prerelease tag
git tag -d edge
git tag -f ${PRERELEASE_TAG}
go run github.com/goreleaser/goreleaser@v1.15.2 release \
go run github.com/goreleaser/goreleaser@v1.25.1 release \
--rm-dist \
--skip-validate \
-f .goreleaser.pre.yml
Expand Down
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ install: ## Build and install locally the binary (dev purpose)
build: ## Build the binaries using local GOOS
go build ./cmd/$(NAME)

.PHONY: release
release: ## Build & release the binaries (stable)
git tag -d edge
go run github.com/goreleaser/goreleaser@v1.25.1 release --clean

.PHONY: prerelease
prerelease: ## Build & prerelease the binaries (edge)
@\
Expand Down

0 comments on commit dc2f967

Please sign in to comment.