feat: generate source archives

This commit is contained in:
Baptiste Augrain
2022-09-25 18:07:45 +02:00
parent 36c0f2a014
commit abbc2cb2f1
2 changed files with 14 additions and 0 deletions

View File

@@ -61,6 +61,11 @@ if [[ "${OS_NAME}" == "osx" ]]; then
popd
fi
if [[ "${SHOULD_BUILD_SRC}" == "yes" ]]; then
git archive --format tar.gz --output="./artifacts/VSCodium-${RELEASE_VERSION}-src.tar.gz" HEAD
git archive --format zip --output="./artifacts/VSCodium-${RELEASE_VERSION}-src.zip" HEAD
fi
VSCODE_PLATFORM="darwin"
elif [[ "${OS_NAME}" == "windows" ]]; then
cd vscode || { echo "'vscode' dir not found"; exit 1; }