Skip to content

Commit

Permalink
Add publish stage in CI (#1627)
Browse files Browse the repository at this point in the history
  • Loading branch information
JimiC authored and robertohuertasm committed Jun 17, 2018
1 parent 0e7d6a1 commit 4282d69
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@ jobs:
script: npm run compile
after_success: wpilgen

- stage: publish
if: repo =~ ^vscode-icons AND tag IS present AND type = push
os: linux
node_js: 7.9.0
before_script: npm i vsce --no-save
script: npm run build
after_success: vsce publish -p $VSCE_TOKEN

- stage: docker vsi:latest
if: repo =~ ^vscode-icons AND branch = master AND type = push
sudo: required
Expand Down
3 changes: 2 additions & 1 deletion src/settings/extensionSettings.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { IExtensionSettings } from '../models';
import * as manifest from '../../../package.json';

export const extensionSettings: IExtensionSettings = {
version: '7.23.0',
version: manifest.version,
iconJsonFileName: 'icons.json',
iconSuffix: '',
filePrefix: 'file_type_',
Expand Down

0 comments on commit 4282d69

Please sign in to comment.