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