diff --git a/obs-packaging/runtime/_service-template b/obs-packaging/runtime/_service-template index 22078cc66..b776d9bd7 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 00267e149..f05318e48 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