build(linux): use correct task for reh alpine [skip ci]

This commit is contained in:
Baptiste Augrain 2024-02-27 02:19:00 +01:00
parent ec3440c945
commit 9cde10c3c8

View File

@ -33,7 +33,14 @@ done
node build/azure-pipelines/distro/mixin-npm node build/azure-pipelines/distro/mixin-npm
yarn gulp minify-vscode-reh yarn gulp minify-vscode-reh
yarn gulp "vscode-reh-linux-${VSCODE_PLATFORM}-${VSCODE_ARCH}-min-ci"
if [[ "${VSCODE_ARCH}" == "x64" ]]; then
PA_NAME="linux-alpine"
else
PA_NAME="alpine-arm64"
fi
yarn gulp "vscode-reh-${PA_NAME}-min-ci"
cd .. cd ..
@ -42,7 +49,7 @@ APP_NAME_LC="$( echo "${APP_NAME}" | awk '{print tolower($0)}' )"
mkdir -p assets mkdir -p assets
echo "Building and moving REH" echo "Building and moving REH"
cd "vscode-reh-${VSCODE_PLATFORM}-${VSCODE_ARCH}" cd "vscode-reh-${PA_NAME}"
tar czf "../assets/${APP_NAME_LC}-reh-${VSCODE_PLATFORM}-${VSCODE_ARCH}-${RELEASE_VERSION}.tar.gz" . tar czf "../assets/${APP_NAME_LC}-reh-${VSCODE_PLATFORM}-${VSCODE_ARCH}-${RELEASE_VERSION}.tar.gz" .
cd .. cd ..