Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6994c53

Browse files
authoredMar 11, 2020
Merge pull request #78 from anatoliykmetyuk/release-vsix
Fix #75: Publish vsix files on release
2 parents f2ee8cc + 365c422 commit 6994c53

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed
 

‎.travis.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,14 @@ jobs:
1414
- stage: release
1515
script: bin/ci-release.sh
1616

17+
deploy:
18+
provider: releases
19+
api_key:
20+
secure: "Wt9gFsQqxwFOnLFuMgc6fy1d4Z4T2v3xfyhb4+bqip/MTUR3K9vwUAmvsxWe6/rPfFsdWb+Iou2VH5t3Bh5lck2yxzG28S0sxDoLkdB2cAkcIDxGWfxxoi62V3IFFkXs5XHcQuTXGLjJymDv+824SaEIid+ePliW4imDUXNJP9gSohTG+zZzNSvKJpipduXd3p+LRkk+HQGMZPHRv2jn24xLpTRkn6uiSVI8xUjA93K04vq3O8CU58/L77GpB5oVZm4GZXr9GgFVI5FsgVi9ps5Glnm4v87d3jTw4sjGy274QbB89Ys43hkUUm4Zu/JlxfZlhkp/o/u+gLuJ/XT65NxTikI9LeY8g5KwM0kA2jQMIL70Iyl+jiJ8f9Venm97toa5/4rKkIqwHkdf2I2f+VRDu2LFtk0VzOjb3mPmAhoOLPWUfLphKJTuIhaI0pdATts9BhJ6bYjj7qLdviRGnx7bOASxCqwPNAGNCXWEVEesMF7Y/Bu56eONFi70pECi3WWgISZjeDhotyKyTusixzQWTWZcBJQ02Ua//JCR0d2Dx33ANEoabwUPaIZ+pLhj8Awaojxf1F0pepWiWCB2DiweXGVfZQyU/EGkBY7tB9HiYNPpNfbAYeqVuIst1DHsYAzPmOhEONrzjKSJBd9bcuX0n7VL15OVRzV5SDmCCS8="
21+
file_glob: true
22+
file: *.vsix
23+
skip_cleanup: true
24+
on:
25+
tags: true
26+
1727
cache: yarn

‎bin/ci-release.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ NEW_VERSION=${TRAVIS_TAG#"v"}
88
yarn install
99
yarn build
1010
yarn test
11+
vsce package
12+
13+
for f in $(ls *.vsix); do
14+
mv $f "scala-lang.$f"
15+
done
1116

1217
# Update package.json and CHANGELOG.md
1318
set-up-ssh() {

0 commit comments

Comments
 (0)
Please sign in to comment.