File tree 2 files changed +3
-9
lines changed
2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,6 @@ addons:
16
16
env :
17
17
global :
18
18
- TEST_RESULTS_FILE=test-results.xml
19
- - RELEASE_BRANCH=feature/automated_releases
20
- - GITHUB_REPO=
21
19
22
20
before_install :
23
21
- export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:99.0
@@ -33,12 +31,7 @@ script:
33
31
- sonar-scanner
34
32
35
33
before_deploy :
36
- -
git config --global user.email "[email protected] "
37
- - git config --global user.name "Travis CI"
38
- - npm version patch -m "Bumping to %s"
39
- - git push && git push --tags
40
34
- export PACKAGE_VERSION=$(node -p "require('./package.json').version")
41
- - export TRAVIS_TAG=v${PACKAGE_VERSION}
42
35
- npm run package
43
36
44
37
deploy :
@@ -49,9 +42,9 @@ deploy:
49
42
skip_cleanup : true
50
43
name : " Version $PACKAGE_VERSION"
51
44
on :
52
- branch : $RELEASE_BRANCH
45
+ tags : true
53
46
- provider : script
54
47
script : npm run publish -- -p $VSCE_TOKEN --packagePath *.vsix
55
48
skip_cleanup : true
56
49
on :
57
- branch : $RELEASE_BRANCH
50
+ tags : true
Original file line number Diff line number Diff line change 235
235
"lint" : " tslint -p ." ,
236
236
"test" : " node ./node_modules/vscode/bin/test" ,
237
237
"postinstall" : " node ./node_modules/vscode/bin/install" ,
238
+ "bump" : " npm version patch -m \" Bumping to %s\" " ,
238
239
"modclean" : " node ./build/removeFiles . .vscodeignore" ,
239
240
"package" : " vsce package" ,
240
241
"publish" : " vsce publish" ,
You can’t perform that action at this time.
0 commit comments