mirror of https://git.tuxpa.in/a/code-server.git
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
|
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
|
||||||
|
|
Loading…
Reference in New Issue