1
0
mirror of https://git.tuxpa.in/a/code-server.git synced 2024-12-27 20:55:25 +00:00

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

View File

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