feat: update to support insider version

This commit is contained in:
Baptiste Augrain
2022-08-17 07:36:15 +02:00
parent 637ec23444
commit 41d477decd
10 changed files with 90 additions and 239 deletions

View File

@@ -3,6 +3,10 @@
rm -rf VSCode*
rm -rf vscode*
./get_repo.sh
if [[ "${1}" == "insider" ]]; then
export INSIDER="yes"
fi
SHOULD_BUILD=yes CI_BUILD=no OS_NAME=linux VSCODE_ARCH=x64 ./build.sh
. get_repo.sh
SHOULD_BUILD=yes CI_BUILD=no OS_NAME=linux VSCODE_ARCH=x64 . build.sh

View File

@@ -13,6 +13,10 @@ fi
echo "-- VSCODE_ARCH: ${VSCODE_ARCH}"
if [[ "${1}" == "insider" ]]; then
export INSIDER="yes"
fi
. get_repo.sh
SHOULD_BUILD=yes CI_BUILD=no OS_NAME=osx . build.sh

View File

@@ -6,6 +6,10 @@ rm -rf VSCode*
rm -rf vscode*
rm -rf build/windows/msi/releasedir
if [[ "${1}" == "insider" ]]; then
export INSIDER="yes"
fi
. get_repo.sh
SHOULD_BUILD=yes CI_BUILD=no OS_NAME=windows VSCODE_ARCH=x64 . build.sh

View File

@@ -13,7 +13,7 @@ for file in ../patches/*.patch; do
echo failed to apply patch "${file}"
git apply --reject "${file}"
read -p "Press any key when the conflict have been resolved..." -n1 -s
git diff > "${file}"
git diff -U1 > "${file}"
fi
git add .
git reset -q --hard HEAD