Skip to content

Commit

Permalink
Updated the release process to work with npm two-factor auth
Browse files Browse the repository at this point in the history
  • Loading branch information
sgravrock committed Sep 3, 2022
1 parent 1fb0777 commit 557902d
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 38 deletions.
36 changes: 0 additions & 36 deletions Gruntfile.js

This file was deleted.

27 changes: 27 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# How to work on a Jasmine Release

## Prepare the release
When ready to release - specs are all green and the stories are done:

1. If this is a major or minor release, publish the corresponding release of
`jasmine-core` as described in that repo's `RELEASE.md`.
2. Create release notes using the Anchorman gem.
3. In `package.json`, update both the package version and the `jasmine-core`
dependency version. This package should depend on the same major and minor
version of `jasmine-core`. For instance, 4.1.1 should depend on
`"jasmine-core": "^4.1.0"`.
4. Commit and push.
5. Wait for Circle CI to go green again.

## Publish the NPM package

1. Create a tag for the version, e.g. `git tag v4.4.0`.
2. Push the tag: `git push --tags`
3. Publish the NPM package: `npm publish`.

### Publish the GitHub release

1. Visit the GitHub releases page and find the tag just published.
2. Paste in a link to the correct release notes for this release.
3. If it is a pre-release, mark it as such.
4. Publish the release.
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@
"main": "./lib/jasmine.js",
"devDependencies": {
"eslint": "^6.8.0",
"grunt": "^1.0.4",
"grunt-cli": "^1.3.2",
"shelljs": "^0.8.3",
"slash": "^3.0.0",
"temp": "^0.9.4"
Expand Down

0 comments on commit 557902d

Please sign in to comment.