Skip to content

Commit 557902d

Browse files
committed
Updated the release process to work with npm two-factor auth
1 parent 1fb0777 commit 557902d

File tree

3 files changed

+27
-38
lines changed

3 files changed

+27
-38
lines changed

Gruntfile.js

Lines changed: 0 additions & 36 deletions
This file was deleted.

RELEASE.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# How to work on a Jasmine Release
2+
3+
## Prepare the release
4+
When ready to release - specs are all green and the stories are done:
5+
6+
1. If this is a major or minor release, publish the corresponding release of
7+
`jasmine-core` as described in that repo's `RELEASE.md`.
8+
2. Create release notes using the Anchorman gem.
9+
3. In `package.json`, update both the package version and the `jasmine-core`
10+
dependency version. This package should depend on the same major and minor
11+
version of `jasmine-core`. For instance, 4.1.1 should depend on
12+
`"jasmine-core": "^4.1.0"`.
13+
4. Commit and push.
14+
5. Wait for Circle CI to go green again.
15+
16+
## Publish the NPM package
17+
18+
1. Create a tag for the version, e.g. `git tag v4.4.0`.
19+
2. Push the tag: `git push --tags`
20+
3. Publish the NPM package: `npm publish`.
21+
22+
### Publish the GitHub release
23+
24+
1. Visit the GitHub releases page and find the tag just published.
25+
2. Paste in a link to the correct release notes for this release.
26+
3. If it is a pre-release, mark it as such.
27+
4. Publish the release.

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@
3535
"main": "./lib/jasmine.js",
3636
"devDependencies": {
3737
"eslint": "^6.8.0",
38-
"grunt": "^1.0.4",
39-
"grunt-cli": "^1.3.2",
4038
"shelljs": "^0.8.3",
4139
"slash": "^3.0.0",
4240
"temp": "^0.9.4"

0 commit comments

Comments
 (0)