snap: do not export agent version

This causes the repository to be checked out to a version tag, which is
inconsistent with how we build runtime, and reverts us to a buggy
`snap/snapcraft.yaml`.

Fixes: #2313
Signed-off-by: Jakob Naucke <jakob.naucke@ibm.com>
This commit is contained in:
Jakob Naucke 2021-07-26 17:32:18 +02:00
parent 695a7ad758
commit 9c0b8a7f5b
No known key found for this signature in database
GPG Key ID: 45FA1C7D310C0EBE

View File

@ -115,7 +115,6 @@ parts:
cd ${kata_dir}/tools/osbuilder
# build image
export AGENT_VERSION=$(cat ${kata_dir}/VERSION)
export AGENT_INIT=yes
export USE_DOCKER=1
export DEBUG=1