ci(snap): make sure that version is set [skip ci]

This commit is contained in:
Baptiste Augrain 2024-04-13 03:26:00 +02:00
parent 7733660b8a
commit c8a5d87903

View File

@ -26,7 +26,7 @@ else
SNAP_VERSION=$( snapcraft list-revisions "${SNAP_NAME}" | grep -F "stable*" | grep "${ARCHITECTURE}" | tr -s ' ' | cut -d ' ' -f 4 )
echo "Snap version: ${SNAP_VERSION}"
if [[ "${SNAP_VERSION}" != "${RELEASE_VERSION}" ]]; then
if [[ -n "${SNAP_VERSION}" && "${SNAP_VERSION}" != "${RELEASE_VERSION}" ]]; then
export SHOULD_BUILD="yes"
export SHOULD_DEPLOY_TO_STORE="yes"