makefile: use -cli archive names

The Go macros have a bunch of expectations about package names and
archive names. Let's keep the archive names with `-cli` in them to
appease them.

These can only be dropped after we change repositories around and thus
change the `goipath`; after which these can drop their `-cli`.

Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
This commit is contained in:
Simon de Vlieger 2025-01-20 12:15:29 +01:00
parent 37791d3c76
commit 94f7a6fc1f

View file

@ -49,8 +49,8 @@ GOLANGCI_COMPOSER_IMAGE=composer_golangci
VERSION := $(shell ( git describe --tags --abbrev=0 2>/dev/null || echo v1 ) | sed 's|v||')
COMMIT = $(shell (cd "$(SRCDIR)" && git rev-parse HEAD))
PACKAGE_NAME_VERSION = image-builder-$(VERSION)
PACKAGE_NAME_COMMIT = image-builder-$(COMMIT)
PACKAGE_NAME_VERSION = image-builder-cli-$(VERSION)
PACKAGE_NAME_COMMIT = image-builder-cli-$(COMMIT)
#
# Generic Targets