From 2a55deb30ddb217e5ee9b5e385677fb6d03a4049 Mon Sep 17 00:00:00 2001 From: Jose Carlos Venegas Munoz Date: Fri, 29 Jun 2018 15:04:53 -0500 Subject: [PATCH] pkgs: runtime: Allow to build any commit. Allow to build any commit instead of a tag. Signed-off-by: Jose Carlos Venegas Munoz --- obs-packaging/runtime/_service-template | 4 ++-- obs-packaging/runtime/update.sh | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/obs-packaging/runtime/_service-template b/obs-packaging/runtime/_service-template index 22078cc666..b776d9bd7f 100644 --- a/obs-packaging/runtime/_service-template +++ b/obs-packaging/runtime/_service-template @@ -6,8 +6,8 @@ https://github.com/kata-containers/runtime.git kata-runtime - @VERSION@+git.%h - @REVISION@ + @VERSION@+git.@HASH@ + @HASH@ *.tar* diff --git a/obs-packaging/runtime/update.sh b/obs-packaging/runtime/update.sh index 00267e149f..f05318e482 100755 --- a/obs-packaging/runtime/update.sh +++ b/obs-packaging/runtime/update.sh @@ -84,7 +84,6 @@ replace_list=( "GO_ARCH=$GO_ARCH" "HASH=$short_hashtag" "RELEASE=$RELEASE" -"REVISION=$VERSION" "VERSION=$VERSION" "kata_osbuilder_version=${KATA_IMAGE_REQUIRED_VERSION}" "kata_proxy_version=${PROXY_REQUIRED_VERESION}" @@ -95,7 +94,6 @@ replace_list=( "qemu_vanilla_version=${KATA_QEMU_VANILLA_REQUIRED_VERSION}" ) - verify echo "Verify succeed." get_git_info