Skip to content

Commit

Permalink
chore(releasing): nil GITHUB_TOKEN when release is only for local build
Browse files Browse the repository at this point in the history
Signed-off-by: Artur Troian <[email protected]>
  • Loading branch information
troian committed Jan 9, 2024
1 parent 6b9500f commit 1f135a1
Showing 1 changed file with 14 additions and 0 deletions.
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

0 comments on commit 1f135a1

Please sign in to comment.