Feature/DMG ()

Thanks @RandyStevens 🙏 

Closes 
This commit is contained in:
Randal Stevens 2019-05-17 09:17:54 -07:00 committed by Peter Squicciarini
parent a5b2066f76
commit 7b1c9aff73
4 changed files with 12 additions and 1 deletions

View file

@ -29,6 +29,7 @@ script:
before_deploy:
- ./sign_mac_app.sh
- ./create_zip.sh
- ./create_dmg.sh
- ./sum.sh
deploy:
@ -42,6 +43,7 @@ deploy:
- ./*.sha256
- ./*.zip
- ./*.tar.gz
- ./*.dmg
- vscode/.build/linux/deb/i386/deb/*.deb
- vscode/.build/linux/rpm/i386/*.rpm
- vscode/.build/linux/deb/amd64/deb/*.deb

View file

@ -92,7 +92,7 @@ For more information on getting all the telemetry disabled and tips for migratin
Please note that some Visual Studio Code extensions have licenses that restrict their use to the official Visual Studio Code builds and therefore do not work with VSCodium. See [this note](https://github.com/VSCodium/vscodium/blob/master/DOCS.md#proprietary-debugging-tools) on the Docs page for what's been found so far and possible workarounds.
## <a id="supported-os"></a>Supported OS
- [x] OSX x64 (zipped app file)
- [x] OSX x64 (zip, dmg)
- [x] Linux x64 (`.deb`, `.rpm`, `AppImage`, and `.tar.gz` files)
- [x] Linux x86 (`.deb`, `.rpm`, and `.tar.gz` files)
- [x] Windows x64

View file

@ -45,6 +45,7 @@ if [[ "$SHOULD_BUILD" == "yes" ]]; then
fi
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
npm install --global create-dmg
npm run gulp -- "vscode-darwin-min"
elif [[ "$CI_WINDOWS" == "True" ]]; then
cp LICENSE.txt LICENSE.rtf # windows build expects rtf license

8
create_dmg.sh Normal file
View file

@ -0,0 +1,8 @@
#!/bin/bash
if [[ "$SHOULD_BUILD" == "yes" ]]; then
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
cd VSCode-darwin
create-dmg VSCodium.app ..
fi
cd ..
fi