Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(releasing): nil GITHUB_TOKEN when release is only for local build #1914

Merged
merged 1 commit into from
Jan 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions make/releasing.mk
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ GORELEASER_MOUNT_CONFIG ?= false

RELEASE_DOCKER_IMAGE ?= ghcr.io/akash-network/node

<<<<<<< Updated upstream
GORELEASER_SKIP_FLAGS := $(GORELEASER_SKIP)
GORELEASER_SKIP :=

Expand All @@ -15,6 +16,19 @@ space := $(null) #
comma := ,

ifneq ($(GORELEASER_RELEASE),true)
||||||| Stash base
ifneq ($(GORELEASER_RELEASE),true)
ifeq (,$(findstring publish,$(GORELEASER_SKIP)))
GORELEASER_SKIP += publish
endif

=======
ifneq ($(GORELEASER_RELEASE),true)
ifeq (,$(findstring publish,$(GORELEASER_SKIP)))
GORELEASER_SKIP += publish
endif
else
>>>>>>> Stashed changes
GITHUB_TOKEN=
GORELEASER_SKIP_FLAGS += publish
endif
Expand Down
Loading