Skip to content

Commit

Permalink
Makefile: Set tags also during snapshot builds
Browse files Browse the repository at this point in the history
Today we have a complete mixup with the tags, causing an override during
builds. To avoid it, we should set a tag for each build (master or
release)

Refs: #3944

The main fix for this issue will be from Scylla-pkg side
  • Loading branch information
yaronkaikov authored and karol-kokoszka committed Aug 22, 2024
1 parent be7b638 commit 0ad5692
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dist/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ $(shell echo $(RELEASE) > .release)
GORELEASER := goreleaser --clean
.PHONY: release
release:
git tag $(VERSION_NAME) || true
git tag -f $(VERSION_NAME)
$(GORELEASER) $(publish) --skip=validate --config .goreleaser.yaml
$(GORELEASER) --skip=validate --config .goreleaser-docker.yaml

.PHONY: snapshot
snapshot:
GORELEASER_CURRENT_TAG=$(VERSION_NAME)
git tag -f $(VERSION_NAME)
$(GORELEASER) --snapshot --skip=publish --skip=validate --config .goreleaser.yaml
$(GORELEASER) --skip=validate --config .goreleaser-docker.yaml

Expand Down

0 comments on commit 0ad5692

Please sign in to comment.