fix(snap): squash changes [skip ci]

This commit is contained in:
Baptiste Augrain
2024-02-08 16:10:05 +01:00
parent 96f53366b7
commit 3465153c6e
7 changed files with 90 additions and 103 deletions

View File

@@ -125,7 +125,7 @@ elif [[ "${OS_NAME}" == "windows" ]]; then
else
cd vscode || { echo "'vscode' dir not found"; exit 1; }
if [[ "${SHOULD_BUILD_DEB}" != "no" || "${SHOULD_BUILD_APPIMAGE}" != "no" || "${SHOULD_BUILD_SNAP}" != "no" ]]; then
if [[ "${SHOULD_BUILD_DEB}" != "no" || "${SHOULD_BUILD_APPIMAGE}" != "no" ]]; then
yarn gulp "vscode-linux-${VSCODE_ARCH}-build-deb"
fi
@@ -137,10 +137,6 @@ else
. ../build/linux/appimage/build.sh
fi
if [[ "${SHOULD_BUILD_SNAP}" != "no" ]]; then
. ../stores/snapcraft/build.sh
fi
cd ..
if [[ "${SHOULD_BUILD_TAR}" != "no" ]]; then
@@ -167,11 +163,6 @@ else
find assets -name '*.AppImage*' -exec bash -c 'mv $0 ${0/_-_/-}' {} \;
fi
if [[ "${SHOULD_BUILD_SNAP}" != "no" ]]; then
echo "Moving Snap"
mv stores/snapcraft/.build/*.snap assets/
fi
VSCODE_PLATFORM="linux"
fi