summarylogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 91a33204aa0..b543668337a 100644
--- a/Makefile
+++ b/Makefile
@@ -25,7 +25,8 @@ release: prepare
set -e; \
MD5_AMD64=`md5sum tmp/kubectl_amd64 | awk '{print $$1}'`; \
MD5_386=`md5sum tmp/kubectl_386 | awk '{print $$1}'`; \
- sed -i.bak -r -e "s/md5sums_i686=.*/md5sums_i686=('$${MD5_386}')/g" \
+ sed -i.bak -r -e "s/pkgver=.*/pkgver=$${VERSION}/g" \
+ -e "s/md5sums_i686=.*/md5sums_i686=('$${MD5_386}')/g" \
-e "s/md5sums_x86_64=.*/md5sums_x86_64=('$${MD5_AMD64}')/g" PKGBUILD; \
makepkg --printsrcinfo > .SRCINFO; \
makepkg; \