mirror of
https://github.com/VSCodium/vscodium.git
synced 2026-04-23 11:30:14 +10:00
ci(snap): make sure that version is set [skip ci]
This commit is contained in:
@@ -26,7 +26,7 @@ else
|
|||||||
SNAP_VERSION=$( snapcraft list-revisions "${SNAP_NAME}" | grep -F "stable*" | grep "${ARCHITECTURE}" | tr -s ' ' | cut -d ' ' -f 4 )
|
SNAP_VERSION=$( snapcraft list-revisions "${SNAP_NAME}" | grep -F "stable*" | grep "${ARCHITECTURE}" | tr -s ' ' | cut -d ' ' -f 4 )
|
||||||
echo "Snap version: ${SNAP_VERSION}"
|
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_BUILD="yes"
|
||||||
export SHOULD_DEPLOY_TO_STORE="yes"
|
export SHOULD_DEPLOY_TO_STORE="yes"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user