mirror of
https://github.com/VSCodium/vscodium.git
synced 2024-11-09 20:19:49 +03:00
Update build to create deb and rpm packages
This commit is contained in:
parent
6825d14395
commit
58cff9026c
@ -25,7 +25,11 @@ deploy:
|
||||
skip_cleanup: true
|
||||
api_key: $GITHUB_TOKEN
|
||||
file_glob: true
|
||||
file: ./*.zip
|
||||
file:
|
||||
- ./*.zip
|
||||
- ./*.tar.gz
|
||||
- vscode/.build/linux/deb/amd64/deb/*.deb
|
||||
- vscode/.build/linux/rpm/x86_64/*.rpm
|
||||
on:
|
||||
all_branches: true
|
||||
condition: $SHOULD_BUILD = yes
|
||||
|
2
build.sh
2
build.sh
@ -12,6 +12,8 @@ if [[ "$SHOULD_BUILD" == "yes" ]]; then
|
||||
npx gulp vscode-darwin-min
|
||||
else
|
||||
npx gulp vscode-linux-x64-min
|
||||
npx gulp vscode-linux-x64-build-deb
|
||||
npx gulp vscode-linux-x64-build-rpm
|
||||
fi
|
||||
|
||||
cd ..
|
||||
|
@ -6,7 +6,7 @@ if [[ "$SHOULD_BUILD" == "yes" ]]; then
|
||||
zip -r ../VSCode-darwin-${LATEST_MS_TAG}.zip ./*
|
||||
else
|
||||
cd VSCode-linux-x64
|
||||
zip -r ../VSCode-linux-x64-${LATEST_MS_TAG}.zip ./*
|
||||
tar czf ../VSCode-linux-x64-${LATEST_MS_TAG}.tar.gz .
|
||||
fi
|
||||
|
||||
cd ..
|
||||
|
Loading…
Reference in New Issue
Block a user