From fa1fd6a8db179ea8adcd04453a2bdd0f12f47e19 Mon Sep 17 00:00:00 2001 From: Tim Klingeleers Date: Tue, 7 Nov 2017 23:50:26 +0100 Subject: [PATCH] chore: try to release automatically Travis is skipping deployment for some reason on the master branch --- .travis.yml | 5 ----- package.json | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5b93e20..1446e84 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,8 +13,6 @@ before_script: - export TM_VERSION=$(npm run semantic-release:dry | grep "The next release version is " | sed 's/[^0-9.]*\([0-9.]*\).*/\1/') script: - npm run build:production -after_success: - - npm run semantic-release env: - NPM_TOKEN="00000000-0000-0000-0000-000000000000" branches: @@ -24,9 +22,6 @@ deploy: provider: releases api_key: secure: "itypG5lXUZkA647w7CUiagtzgr617UA640j17OFgzsChADpmilsdsEHV8afcuzts/CO+nzxbCO42X6jeBjYKEMvSSe1DInXCy9p0OcryUvTYsTM2zYvqTRn7syF5cN+2B3BTIQERk8nct+mao0p9iKDRvna9l6OI2MGLHm6nEsP/b4VmYMJwemleLY+dHeBLF1eSlEvg6sOHf8MZp6+OU78tUUUfb6+EW0+EpOomf4FG5D+XJn0Q7naMc6L4ehI8lvxcbuM7ECVgXBcw0ixnC/OS/JcpFYlNFHjTUqK/WDXWvoMkJPWff/+2SPYk0bnFJRI7LGCqF1DP0Yzn8Sz+TsNwkJ/plWNgZmq1GC1rEl3fVxHNRwQXb0Qu66BeK/5qJqsvZ1DW+96OwGPEYnUZBAqCVLK/4IHg1yDFTWsSs+sB+ECJNmRsXVF9dLluA3qtKlkujkTcrl5iNXptBx0czRwEvZmzZfEL8OS6naEIc396wEs4YT02vRsg8wp4psMW7YnetDcnVbqcNT9I0leFCSd7MKVFQLVfs5ybhXpb40Eo/+luq6N45GFMS+QazMnoyggAqtZ/g8HoCE0K+pK6YzbrboXeMui50yzMwwRWojM+XFSIKzcSOYP7AWWof66RKfOHqlBVYw8nhFsJ3xRQxzfp6528hZeJpWvRBFzHjbU=" - branches: - only: - - master file: - dist/fut-enhancer.user.js skip_cleanup: true diff --git a/package.json b/package.json index c294a62..fa05a65 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "test": "echo \"Error: no test specified\" && exit 1", "start": "npm run standards:watch & webpack --watch", "build": "npm run standards && webpack", - "build:production": "npm run standards && webpack --config webpack.config.prd.js", + "build:production": "npm run standards && npm run semantic-release:dry && webpack --config webpack.config.prd.js", "standards": "eslint .", "standards:watch": "esw --watch", "semantic-release:dry": "semantic-release --dry-run",