Skip to content

Commit

Permalink
Add step for giving a look a the package diff after publication
Browse files Browse the repository at this point in the history
  • Loading branch information
romaricpascal committed May 17, 2024
1 parent 7657213 commit f0c089c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion docs/releasing/publishing-a-pre-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,13 @@ Developers should pair on pre-releases. When working remotely, it can be useful
If the pre-release has been assigned the wrong tag (mistakes happen),
you can use [`npm dist-tag`](https://docs.npmjs.com/cli/v8/commands/npm-dist-tag) to quickly correct.

7. Run `npm logout` to log out from npm. If you've logged in through your browser, remember to log out from <https://npmjs.com> there as well.
7. Have a quick look at the diff of the new package with the previous one at:

```txt
https://diff.intrinsic.com/govuk-frontend/<PREVIOUS_VERSION_NUMBER>/<RELEASED_VERSION_NUMBER>
```

8. Run `npm logout` to log out from npm. If you've logged in through your browser, remember to log out from <https://npmjs.com> there as well.

## If publishing a beta pre-release, create a release on GitHub

Expand Down
8 changes: 7 additions & 1 deletion docs/releasing/publishing.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,13 @@ Developers should pair on releases. When remote working, it can be useful to be
If the release has been assigned the wrong tag (mistakes happen),
you can use [`npm dist-tag`](https://docs.npmjs.com/cli/v8/commands/npm-dist-tag) to quickly correct.

7. Run `npm logout` to log out from npm in the command line. If you've logged in through your browser, remember to log out from <https://npmjs.com> there as well.
7. Have a quick look at the diff of the new package with the previous one at:

```txt
https://diff.intrinsic.com/govuk-frontend/<PREVIOUS_VERSION_NUMBER>/<RELEASED_VERSION_NUMBER>
```

8. Run `npm logout` to log out from npm in the command line. If you've logged in through your browser, remember to log out from <https://npmjs.com> there as well.

## Create a release on Github

Expand Down

0 comments on commit f0c089c

Please sign in to comment.