Skip to content

Commit

Permalink
try another travis
Browse files Browse the repository at this point in the history
  • Loading branch information
dbuteau committed Aug 24, 2019
1 parent d3898f0 commit f027d2d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 19 deletions.
19 changes: 3 additions & 16 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,10 @@ jobs:
- stage: deploy
name: create release file on github
provider: releases
WEB_EXT_CHANNEL: unlisted
before_script:
- APIKEY="$WEB_EXT_API_KEY"
- APISECRET="$WEB_EXT_API_SECRET"
- unset WEB_EXT_API_KEY
- unset WEB_EXT_API_SECRET
- npm run release
node_js:
- '10'
- web-ext sign
api_key: $GH_TOKEN
WEB_EXT_CHANNEL: unlisted
skip_cleanup: true
overwrite: true
file_glob: true
Expand All @@ -45,16 +39,9 @@ jobs:

- stage: deploy
name: release on AMO
node_js:
- '10'
WEB_EXT_CHANNEL: listed
before_script:
- APIKEY="$WEB_EXT_API_KEY"
- APISECRET="$WEB_EXT_API_SECRET"
- unset WEB_EXT_API_KEY
- unset WEB_EXT_API_SECRET
provider: script
skip_cleanup: true
script: "npm run release:amo"
script: "web-ext sign"
on.tags: true

4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
"scripts": {
"test": "web-ext lint",
"build": "web-ext build",
"sign": "web-ext sign --api-key=$APIKEY --api-secret=$APISECRET",
"release:amo": "npm run build && web-ext run",
"release": "npm run sign"
"release": "web-ext sign --api-key=$APIKEY --api-secret=$APISECRET"
}
}

0 comments on commit f027d2d

Please sign in to comment.