Skip to content

Commit

Permalink
build: Automated deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilogorek committed Oct 17, 2017
1 parent 05df5bf commit 442a4b3
Show file tree
Hide file tree
Showing 4 changed files with 336 additions and 18 deletions.
11 changes: 1 addition & 10 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,17 +121,8 @@ $ grunt run:docs

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

* [ ] Verify TypeScript [language definition file](https://github.com/getsentry/raven-js/blob/master/typescript/raven.d.ts) is up to date
* [ ] Bump version numbers in `package.json`, `bower.json`, and `docs/sentry-doc-config.json`.
* ⚠ 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 ⚠
* [ ] Bump version numbers in `src/raven.js`, and `test/raven.test.js`.
* [ ] Put together [CHANGELOG](https://github.com/getsentry/raven-js/blob/master/CHANGELOG.md)
* [ ] `$ grunt dist` This will compile a new version and update it in the `dist/` folder.
* [ ] Confirm that build was fine, etc.
* [ ] Commit new version, create a tag. Push to GitHub.
* [ ] Copy CHANGELOG entry into a new GH Release: https://github.com/getsentry/raven-js/releases
* [ ] `$ grunt publish` to recompile all plugins and all permutations and upload to S3.
* [ ] `$ npm publish` to push to npm.
* [ ] Run `npm run deploy` and follow instructions
* [ ] Deploy [docs](https://github.com/getsentry/sentry-docs) so that docs, code examples display the latest version change.
* [ ] Confirm that the new version exists behind `cdn.ravenjs.com`
* [ ] Bump version in the `gh-pages` branch specifically for http://ravenjs.com/.
Expand Down
107 changes: 99 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"homepage": "https://github.com/getsentry/raven-js",
"main": "src/singleton.js",
"scripts": {
"deploy": "./scripts/deploy.js",
"lint": "eslint .",
"precommit": "lint-staged",
"publish": "npm run test && grunt publish",
Expand Down Expand Up @@ -50,6 +51,7 @@
"grunt-s3": "0.2.0-alpha.3",
"grunt-sri": "mattrobenolt/grunt-sri#pretty",
"husky": "^0.14.3",
"inquirer": "^3.3.0",
"karma": "^1.7.1",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^2.2.0",
Expand Down
Loading

0 comments on commit 442a4b3

Please sign in to comment.