Skip to content

Commit

Permalink
had to made an aearly release because of an error
Browse files Browse the repository at this point in the history
  • Loading branch information
matepek committed Oct 30, 2018
1 parent 6e04d7b commit 9bfc5c7
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 19 deletions.
26 changes: 13 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,16 @@ install:
script:
- npm test --silent

before_deploy:
- npm install
- npm run compile

deploy:
provider: script
script: node ./out/repo_scripts/deploy.js
on:
condition: "$TRAVIS_OS_NAME = osx"
node_js: "8"
repo: matepek/vscode-catch2-test-adapter
branch: master
tags: false
#before_deploy:
# - npm install
# - npm run compile
#
#deploy:
# provider: script
# script: node ./out/repo_scripts/deploy.js
# on:
# condition: "$TRAVIS_OS_NAME = osx"
# node_js: "8"
# repo: matepek/vscode-catch2-test-adapter
# branch: master
# tags: false
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"icon": "resources/icon.png",
"author": "Mate Pek",
"publisher": "matepek",
"version": "1.2.3",
"version": "2.0.0",
"license": "Unlicense",
"homepage": "https://github.com/matepek/vscode-catch2-test-adapter",
"repository": {
Expand Down
11 changes: 6 additions & 5 deletions src/repo_scripts/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,12 +208,13 @@ async function createGithubRelease(
.post({
url:
'https://api.github.com/repos/matepek/vscode-catch2-test-adapter/releases',
headers: {'User-Agent': 'matepek'}
headers: {'User-Agent': 'matepek'},
form: {
'tag_name': 'testtag2', //'v' + info.version,
'target_commitish': 'development'
}
})
.auth('matepek', key)
.json(JSON.stringify({
'tag_name': 'testtag' //'v' + info.version,
})))
.auth('matepek', key))
.toString());

const uploadAssetRequest =
Expand Down

0 comments on commit 9bfc5c7

Please sign in to comment.