Skip to content

Commit

Permalink
Makefile: improve VERSION
Browse files Browse the repository at this point in the history
8dd832b
excluded the api/* pattern from the version. We want to introduce a new
tag for the rthooks images, where by tagging the with rthooks/v0.1,
rthooks images will be generated with this tag.

Updat the VERSION detection by excluding everything that includes `/`.

Signed-off-by: Kornilios Kourtis <[email protected]>
  • Loading branch information
kkourt committed Jul 12, 2024
1 parent 6040761 commit dee91f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ SUDO ?= sudo
GO_TEST_TIMEOUT ?= 20m
E2E_TEST_TIMEOUT ?= 20m
BUILD_PKG_DIR ?= $(shell pwd)/build/$(TARGET_ARCH)
VERSION ?= $(shell git describe --tags --always --exclude 'api/*')
VERSION ?= $(shell git describe --tags --always --exclude '*/*')

# Do a parallel build with multiple jobs, based on the number of CPUs online
# in this system: 'make -j8' on a 8-CPU system, etc.
Expand Down

0 comments on commit dee91f9

Please sign in to comment.