Skip to content

Fix #75: Publish vsix files on release #78

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,14 @@ jobs:
- stage: release
script: bin/ci-release.sh

deploy:
provider: releases
api_key:
secure: "Wt9gFsQqxwFOnLFuMgc6fy1d4Z4T2v3xfyhb4+bqip/MTUR3K9vwUAmvsxWe6/rPfFsdWb+Iou2VH5t3Bh5lck2yxzG28S0sxDoLkdB2cAkcIDxGWfxxoi62V3IFFkXs5XHcQuTXGLjJymDv+824SaEIid+ePliW4imDUXNJP9gSohTG+zZzNSvKJpipduXd3p+LRkk+HQGMZPHRv2jn24xLpTRkn6uiSVI8xUjA93K04vq3O8CU58/L77GpB5oVZm4GZXr9GgFVI5FsgVi9ps5Glnm4v87d3jTw4sjGy274QbB89Ys43hkUUm4Zu/JlxfZlhkp/o/u+gLuJ/XT65NxTikI9LeY8g5KwM0kA2jQMIL70Iyl+jiJ8f9Venm97toa5/4rKkIqwHkdf2I2f+VRDu2LFtk0VzOjb3mPmAhoOLPWUfLphKJTuIhaI0pdATts9BhJ6bYjj7qLdviRGnx7bOASxCqwPNAGNCXWEVEesMF7Y/Bu56eONFi70pECi3WWgISZjeDhotyKyTusixzQWTWZcBJQ02Ua//JCR0d2Dx33ANEoabwUPaIZ+pLhj8Awaojxf1F0pepWiWCB2DiweXGVfZQyU/EGkBY7tB9HiYNPpNfbAYeqVuIst1DHsYAzPmOhEONrzjKSJBd9bcuX0n7VL15OVRzV5SDmCCS8="
file_glob: true
file: *.vsix
skip_cleanup: true
on:
tags: true

cache: yarn
5 changes: 5 additions & 0 deletions bin/ci-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ NEW_VERSION=${TRAVIS_TAG#"v"}
yarn install
yarn build
yarn test
vsce package

for f in $(ls *.vsix); do
mv $f "scala-lang.$f"
done

# Update package.json and CHANGELOG.md
set-up-ssh() {
Expand Down