diff --git a/vendor/slack-notifier/Makefile b/vendor/slack-notifier/Makefile index b813b32ed4..9827240988 100644 --- a/vendor/slack-notifier/Makefile +++ b/vendor/slack-notifier/Makefile @@ -2,7 +2,7 @@ # Package details export VENDOR ?= cloudposse export PACKAGE_EXE := slack-notifier -export PACKAGE_NAME = slack-notifier_v$(PACKAGE_VERSION) +export PACKAGE_NAME = slack-notifier # PACKAGE_URL # https://github.com/cloudposse/slack-notifier/releases/download/0.9.0/slack-notifier_0.9.0_linux_arm64.zip export DOWNLOAD_URL = https://github.com/cloudposse/slack-notifier/releases/download/$(PACKAGE_VERSION)/$(PACKAGE_EXE)_$(PACKAGE_VERSION)_$(OS)_$(ARCH).zip @@ -11,6 +11,7 @@ export APKBUILD_DEPENDS += libc6-compat include ../../tasks/Makefile.vendor_includes +install: export PACKAGE_NAME = slack-notifier_v$(PACKAGE_VERSION) install: echo $(DOWNLOAD_URL) $(call download_zip) @@ -20,4 +21,4 @@ test: # Custom post-package processing (Note the double colon to append to current inherited package/prepare task) ## This may be required for apk building package/prepare:: - mv src/$(PACKAGE_NAME) src/$(PACKAGE_EXE) + mv src/$(PACKAGE_NAME)_v$(PACKAGE_VERSION) src/$(PACKAGE_EXE)