Skip to content

Commit 442a4b3

Browse files
committed
build: Automated deploy script
1 parent 05df5bf commit 442a4b3

File tree

4 files changed

+336
-18
lines changed

4 files changed

+336
-18
lines changed

CONTRIBUTING.md

+1-10
Original file line numberDiff line numberDiff line change
@@ -121,17 +121,8 @@ $ grunt run:docs
121121

122122
_This is a checklist for core contributors when releasing a new version._
123123

124-
* [ ] Verify TypeScript [language definition file](https://github.com/getsentry/raven-js/blob/master/typescript/raven.d.ts) is up to date
125-
* [ ] Bump version numbers in `package.json`, `bower.json`, and `docs/sentry-doc-config.json`.
126124
* ⚠ WARNING: once `docs/sentry-doc-config.json` is bumped on master, it can be pulled by a docs deploy at any time, so complete this process up to `grunt publish` and `npm publish` immediately to ensure docs don't reference a non-existent version link ⚠
127-
* [ ] Bump version numbers in `src/raven.js`, and `test/raven.test.js`.
128-
* [ ] Put together [CHANGELOG](https://github.com/getsentry/raven-js/blob/master/CHANGELOG.md)
129-
* [ ] `$ grunt dist` This will compile a new version and update it in the `dist/` folder.
130-
* [ ] Confirm that build was fine, etc.
131-
* [ ] Commit new version, create a tag. Push to GitHub.
132-
* [ ] Copy CHANGELOG entry into a new GH Release: https://github.com/getsentry/raven-js/releases
133-
* [ ] `$ grunt publish` to recompile all plugins and all permutations and upload to S3.
134-
* [ ] `$ npm publish` to push to npm.
125+
* [ ] Run `npm run deploy` and follow instructions
135126
* [ ] Deploy [docs](https://github.com/getsentry/sentry-docs) so that docs, code examples display the latest version change.
136127
* [ ] Confirm that the new version exists behind `cdn.ravenjs.com`
137128
* [ ] Bump version in the `gh-pages` branch specifically for http://ravenjs.com/.

package-lock.json

+99-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"homepage": "https://github.com/getsentry/raven-js",
1616
"main": "src/singleton.js",
1717
"scripts": {
18+
"deploy": "./scripts/deploy.js",
1819
"lint": "eslint .",
1920
"precommit": "lint-staged",
2021
"publish": "npm run test && grunt publish",
@@ -50,6 +51,7 @@
5051
"grunt-s3": "0.2.0-alpha.3",
5152
"grunt-sri": "mattrobenolt/grunt-sri#pretty",
5253
"husky": "^0.14.3",
54+
"inquirer": "^3.3.0",
5355
"karma": "^1.7.1",
5456
"karma-chai": "^0.1.0",
5557
"karma-chrome-launcher": "^2.2.0",

0 commit comments

Comments
 (0)