Skip to content

Commit 858d167

Browse files
committed
Add automatic release
1 parent 1c4f929 commit 858d167

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

.travis.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,21 @@ after_success:
2929
after_script:
3030
- cat /tmp/xdebug.log
3131

32+
# If build on a tag, publish a new release and upload vsix to the GitHub release
33+
before_deploy:
34+
- vsce package
35+
- vsce publish -p $VSCE_TOKEN
36+
37+
deploy:
38+
provider: releases
39+
skip_cleanup: true
40+
api_key:
41+
secure: Jxe2EeDH4+pd4e/GhwUz+CQo5W4K7qBjdXQce9v+hUJZzoZgcwfkxZny0EWM53YyC6W8/10OZlo06KB2ZyiS90vYk9h0Wy5qva4le0m+ekW6u2YNexUd22z+9n6eKr5T+wzx60TTSHNLIprGyJfWyK5Q1vJbOzX0eBartXvu4NgXFakrBgykbur+8NwHQuZSAsiAnjooSTrVV+IJruCNti1ZhkVbwyjMMOzMvXU7y7wx2KZ30p0UL0S0/DbPRtfKJeLrLhkUYSVaxcoNsExVJaWKWrWiu8GZ6WBL0uryhSptobxllrFWH93ox0IDw2WGJNKMronGdxbafle20ILLK/q/0HN0QRa0h8dcFEerLyMSLOxF/dgdVVvlqockCC4/fISreTjrFAd8o0RLL+BIgfvrTmSsHJ0dD1sOVVO2ZnMmYOia0Ehex1wBBO2PXE+yHQBqwVjIEqPx5cwdO94Js1RCFiMaJmAEMaF1+JceWobwCsIpGyhsq3202XtnbPxHyi5o1IcsQWeMDdo2GsNozJgCMf8IuWB+z5jKa6Vlz92TXmGEPUAzTERHyGKNMKN9oHw0WhUkgFVt4dn1wMLGnFjy+BSrlmBzg4UCYT1LD2HYCkhQPrOgHGLiCBiBENoRCXOr/01mZpu16ibpJxMf114udtwA2TThHrmnRgWNXms=
42+
file: php-debug-*.vsix
43+
file_glob: true
44+
on:
45+
repo: felixfbecker/vscode-php-debug
46+
tags: true
47+
3248
sudo: false
49+

.vscodeignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,5 @@ appveyor-install.ps1
1515
.travis.yml
1616
travis-php.ini
1717
ISSUE_TEMPLATE.md
18+
*.vsix
19+
*.log

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
"tslint": "^5.4.3",
5555
"typescript": "^2.1.4",
5656
"typings": "^2.0.0",
57+
"vsce": "^1.28.0",
5758
"vscode-debugadapter-testsupport": "^1.11.0"
5859
},
5960
"scripts": {

0 commit comments

Comments
 (0)