Browse Source

Fix semantic release run

pull/1135/head
Julian Simioni 7 years ago
parent
commit
06f7099598
No known key found for this signature in database
GPG Key ID: B9EEB0C6EE0910A1
  1. 2
      .travis.yml
  2. 1
      package.json

2
.travis.yml

@ -14,7 +14,7 @@ before_install:
before_script: before_script:
- npm prune - npm prune
after_success: after_success:
- npm run semantic-release - npx semantic-release
branches: branches:
except: except:
- /^v\d+\.\d+\.\d+$/ - /^v\d+\.\d+\.\d+$/

1
package.json

@ -17,7 +17,6 @@
"travis": "npm run check-dependencies && npm test", "travis": "npm run check-dependencies && npm test",
"unit": "./bin/units", "unit": "./bin/units",
"validate": "npm ls", "validate": "npm ls",
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"config": "node -e \"console.log(JSON.stringify(require( 'pelias-config' ).generate(require('./schema')), null, 2))\"", "config": "node -e \"console.log(JSON.stringify(require( 'pelias-config' ).generate(require('./schema')), null, 2))\"",
"check-dependencies": "node_modules/.bin/npm-check --production --ignore pelias-interpolation", "check-dependencies": "node_modules/.bin/npm-check --production --ignore pelias-interpolation",
"prune": "npm prune" "prune": "npm prune"

Loading…
Cancel
Save