mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 09:08:48 +01:00
snap-build-linux.yml: use "snap pack" to get LZO (#119478)
Use `snap pack --compression=lzo` instead of letting snapcraft pack the final snap, as the current snapcraft.yaml is not setup to use any base in it, and as such is missing the new feature for configuring the compression of the final snap. Signed-off-by: Ian Johnson <ian.johnson@canonical.com>
This commit is contained in:
@@ -48,7 +48,7 @@ steps:
|
||||
x64) SNAPCRAFT_TARGET_ARGS="" ;;
|
||||
*) SNAPCRAFT_TARGET_ARGS="--target-arch $(VSCODE_ARCH)" ;;
|
||||
esac
|
||||
(cd $SNAP_ROOT/code-* && sudo --preserve-env snapcraft snap $SNAPCRAFT_TARGET_ARGS --output "$SNAP_PATH")
|
||||
(cd $SNAP_ROOT/code-* && sudo --preserve-env snapcraft prime $SNAPCRAFT_TARGET_ARGS && snap pack prime --compression=lzo --filename="$SNAP_PATH")
|
||||
|
||||
# Publish snap package
|
||||
AZURE_DOCUMENTDB_MASTERKEY="$(builds-docdb-key-readwrite)" \
|
||||
|
||||
Reference in New Issue
Block a user