Skip to content

Commit

Permalink
Makefile: remove version from publish command
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Berning <[email protected]>
  • Loading branch information
sam-berning committed Jun 18, 2024
1 parent 171c24f commit 8029fae
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ TOOLS_DIR := $(TOP)tools
TWOLITER_DIR := $(TOOLS_DIR)/twoliter
TWOLITER := $(TWOLITER_DIR)/twoliter
CARGO_HOME := $(TOP).cargo
VERSION := $(shell awk '/^release-version = /{ print $$3 }' $(TOP)Twoliter.toml)
GIT_HASH := $(shell git describe --always --dirty --exclude '*' || echo 00000000 )

TWOLITER_VERSION ?= "0.3.0"
KIT ?= bottlerocket-core-kit
Expand Down Expand Up @@ -34,7 +32,7 @@ build: fetch
@$(TWOLITER) build kit $(KIT) --arch $(ARCH)

publish: prep
@$(TWOLITER) publish kit $(KIT) $(VENDOR) v$(VERSION)-$(GIT_HASH)
@$(TWOLITER) publish kit $(KIT) $(VENDOR)

TWOLITER_MAKE = $(TWOLITER) make --cargo-home $(CARGO_HOME) --arch $(ARCH)

Expand Down

0 comments on commit 8029fae

Please sign in to comment.