From 5926c9ad51ebf7ad3ae92ec560e63278c78e4183 Mon Sep 17 00:00:00 2001 From: Ernesto Ojeda Date: Thu, 16 Apr 2020 09:44:45 -0700 Subject: [PATCH] add apt-get update before snapcraft commands Signed-off-by: Ernesto Ojeda --- entrypoint.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index e08674f..3925257 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -13,6 +13,8 @@ export SNAPCRAFT_BUILD_INFO=1 # to send a report. export SNAPCRAFT_ENABLE_SILENT_REPORT=1 +apt-get update + case "$JOB_TYPE" in "stage") # Stage jobs build the snap locally and release it