mirror of
https://github.com/VSCodium/vscodium.git
synced 2026-04-24 20:00:15 +10:00
fix: generate artifacts (#1223)
This commit is contained in:
@@ -2,8 +2,26 @@
|
||||
|
||||
exists() { type -t "$1" > /dev/null 2>&1; }
|
||||
|
||||
rm -rf VSCode*
|
||||
rm -rf vscode*
|
||||
export CI_BUILD="no"
|
||||
export OS_NAME="linux"
|
||||
export SHOULD_BUILD="yes"
|
||||
export SKIP_PACKAGES="yes"
|
||||
export VSCODE_LATEST="no"
|
||||
export VSCODE_QUALITY="stable"
|
||||
|
||||
while getopts ":ilp" opt; do
|
||||
case "$opt" in
|
||||
i)
|
||||
export VSCODE_QUALITY="insider"
|
||||
;;
|
||||
l)
|
||||
export VSCODE_LATEST="yes"
|
||||
;;
|
||||
p)
|
||||
export SKIP_PACKAGES="no"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
if ! exists yarn; then
|
||||
curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -
|
||||
@@ -22,8 +40,17 @@ else
|
||||
export VSCODE_ARCH="armhf"
|
||||
fi
|
||||
|
||||
echo "-- VSCODE_ARCH: ${VSCODE_ARCH}"
|
||||
echo "OS_NAME: ${OS_NAME}"
|
||||
echo "SKIP_PACKAGES: ${SKIP_PACKAGES}"
|
||||
echo "VSCODE_ARCH: ${VSCODE_ARCH}"
|
||||
echo "VSCODE_LATEST: ${VSCODE_LATEST}"
|
||||
echo "VSCODE_QUALITY: ${VSCODE_QUALITY}"
|
||||
|
||||
rm -rf vscode* VSCode*
|
||||
|
||||
. get_repo.sh
|
||||
. build.sh
|
||||
|
||||
SHOULD_BUILD=yes CI_BUILD=no OS_NAME=linux . build.sh
|
||||
if [[ "${SKIP_PACKAGES}" == "no" ]]; then
|
||||
. prepare_artifacts.sh
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user