Skip to content

Commit f6e84df

Browse files
authored
Move goreleaser scripts to Makefile (#2508)
1 parent dee4abc commit f6e84df

File tree

4 files changed

+13
-28
lines changed

4 files changed

+13
-28
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424

2525
# Goreleaser
2626
/dist
27-
/bin
2827

2928
# Fossa
3029
.fossa.yml

Makefile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,19 @@ docker-admin-tools-x:
493493
@printf $(COLOR) "Build cross-platform docker image temporalio/admin-tools:$(DOCKER_IMAGE_TAG)..."
494494
docker buildx build . -t temporalio/admin-tools:$(DOCKER_IMAGE_TAG) --platform linux/amd64,linux/arm64 --output type=$(DOCKER_BUILDX_OUTPUT) --target temporal-admin-tools
495495

496+
##### goreleaser #####
497+
goreleaser-install:
498+
@printf $(COLOR) "Install/update goreleaser tool..."
499+
@go install github.com/goreleaser/goreleaser@latest
500+
501+
goreleaser-build:
502+
@printf $(COLOR) "Build release binaries from current commit..."
503+
@goreleaser release --snapshot --rm-dist
504+
505+
goreleaser-release:
506+
@printf $(COLOR) "Build and publish release binaries to the latest release tag..."
507+
@goreleaser release --rm-dist
508+
496509
##### Grafana #####
497510
update-dashboards:
498511
@printf $(COLOR) "Update dashboards submodule from remote..."

develop/docs/release_artefact.md

Lines changed: 0 additions & 18 deletions
This file was deleted.

develop/scripts/goreleaser.sh

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)