chore(linux): update version of riscv electron

This commit is contained in:
Baptiste Augrain
2024-10-29 00:18:40 +01:00
parent 7fbe30a3f5
commit 85ce7aa131
2 changed files with 3 additions and 4 deletions

View File

@@ -2,7 +2,7 @@
set -ex
export ELECTRON_VERSION="32.1.2"
export ELECTRON_VERSION="32.2.1"
export VSCODE_ELECTRON_TAG="v${ELECTRON_VERSION}.riscv1"
echo "1893e6e8831ddd9c30111db02ad7edbaad8ebbf43d69054657f7221fb6086819 *electron-v${ELECTRON_VERSION}-linux-riscv64.zip" >> build/checksums/electron.txt
echo "03b1b478ab7b9d40da5c47edef0bbeeb528a8bed5335018ff38e513b7df43c7f *electron-v${ELECTRON_VERSION}-linux-riscv64.zip" >> build/checksums/electron.txt

View File

@@ -31,9 +31,8 @@ if [[ "${VSCODE_ARCH}" == "riscv64" ]]; then
if [[ "${ELECTRON_VERSION}" != "$(yarn config get target)" ]]; then
# Fail the pipeline if electron target doesn't match what is used.
# Look for releases here if electron version used by vscode changed:
# https://github.com/riscv-forks/electron-riscv-releases/releases
echo "Electron RISC-V binary version doesn't match target electron version!"
echo "Releases available at: https://github.com/${VSCODE_ELECTRON_REPO}/releases"
exit 1
fi
fi