Skip to content

Commit

Permalink
Update build to create deb and rpm packages
Browse files Browse the repository at this point in the history
  • Loading branch information
stripedpajamas committed Aug 15, 2018
1 parent 6825d14 commit 58cff90
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 2 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ..
Expand Down
2 changes: 1 addition & 1 deletion create_zip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ..
Expand Down

0 comments on commit 58cff90

Please sign in to comment.