Fix extensions not being bundled into prebuilt

This commit is contained in:
Asher 2019-08-05 13:05:09 -05:00
parent 590f699687
commit dc333d4321
No known key found for this signature in database
GPG Key ID: D63C1EF81242354A
1 changed files with 2 additions and 1 deletions

View File

@ -233,8 +233,9 @@ function main() {
if [[ "${task}" == "package-prebuilt" ]] ; then if [[ "${task}" == "package-prebuilt" ]] ; then
local archiveName="vscode-${vscodeVersion}.tar.gz" local archiveName="vscode-${vscodeVersion}.tar.gz"
cd "${stagingPath}" cd "${sourcePath}"
git reset --hard && git clean -xfd -e '.build/extensions' -e 'node_modules' git reset --hard && git clean -xfd -e '.build/extensions' -e 'node_modules'
cd "${stagingPath}"
tar -czf "${archiveName}" "${sourceName}" tar -czf "${archiveName}" "${sourceName}"
mkdir -p "${releasePath}" && mv -f "${archiveName}" "${releasePath}" mkdir -p "${releasePath}" && mv -f "${archiveName}" "${releasePath}"
exit 0 exit 0