Skip to content

Commit

Permalink
Makefile: exclude api tags from version
Browse files Browse the repository at this point in the history
[ upstream commit 8dd832b ]

cf0a49d introduced a tag for the api
module. This, however, breaks the release process because the tarball
image generation uses the api version and fails. Exclude the api tags
from the version.

Signed-off-by: Kornilios Kourtis <[email protected]>
  • Loading branch information
kkourt committed Jun 11, 2024
1 parent 20ebb39 commit aabc3ae
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)
VERSION ?= $(shell git describe --tags --always --exclude 'api/*')

# 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 aabc3ae

Please sign in to comment.