mirror of
https://github.com/danog/code-server.git
synced 2024-11-30 04:39:46 +01:00
Fix extensions not being bundled into prebuilt
This commit is contained in:
parent
590f699687
commit
dc333d4321
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user