Skip to content

Commit

Permalink
[core] Update the release:version docs (#16038)
Browse files Browse the repository at this point in the history
  • Loading branch information
cherniavskii authored Dec 30, 2024
1 parent 0c6aa25 commit 3ead503
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ In case of a problem, another method to generate the changelog is available at t
3. `pnpm release:publish` (release the versions on npm, you need your 2FA device)
4. `pnpm release:tag` (push the newly created tag)

> [!WARNING]
> If the `pnpm release:tag` fails you can create and push the tag using the following command: `git tag -a v4.0.0-alpha.30 -m "Version 4.0.0-alpha.30" && git push upstream --tag`.
> Make sure to copy the git tag command above so that the tag is annotated!
### Publish the documentation

The documentation must be updated on the `docs-vX` branch (`docs-v4` for `v4.X` releases, `docs-v5` for `v5.X` releases, ...)
Expand Down Expand Up @@ -100,10 +104,6 @@ You can use the following script in your browser console on any GitHub page to a
})();
```

### Manually create the release tag

If the `pnpm release:tag` fails you can create and push the tag using the following command: `git tag -a v4.0.0-alpha.30 -m "Version 4.0.0-alpha.30" && git push upstream --tag`.

### release:publish failed

If you receive an error message like `There are no new packages that should be published`. Ensure you are publishing to the correct registry, not `verdaccio` or anything else. If you need to reset your configuration, you can run `npm config delete registry`.

0 comments on commit 3ead503

Please sign in to comment.