Skip to content

Commit

Permalink
Fix #75: Publish vsix files on release
Browse files Browse the repository at this point in the history
  • Loading branch information
anatoliykmetyuk committed Mar 6, 2020
1 parent f2ee8cc commit 365c422
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
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

0 comments on commit 365c422

Please sign in to comment.