0
0
mirror of https://github.com/tj/n.git synced 2024-11-25 07:39:21 +01:00

Prepare for release

This commit is contained in:
John Gee 2024-09-06 14:28:25 +12:00
parent 426952cf48
commit 69bc40686e
2 changed files with 7 additions and 2 deletions

View File

@ -7,11 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
<!-- markdownlint-disable MD024 --> <!-- markdownlint-disable MD024 -->
## [Unreleased] (date goes here) ## [10.0.0] (2024-09-06)
The major version bump is due to using `jq` in preference to `node` for reading `package.json`.
### Changed ### Changed
- if `jq` is available, use `jq` for reading `engines` from `package.json` instead of using `node` ([#810]) - if `jq` is available, use `jq` for reading `engines` from `package.json` instead of using `node` ([#810])
- avoid a network lookup if auto or engine find a fully specified numeric version. ([#813])
## [9.2.3] (2024-04-21) ## [9.2.3] (2024-04-21)
@ -511,10 +514,12 @@ Only minor functional changes, but technically could break scripts relying on sp
[#764]: https://github.com/tj/n/pull/764 [#764]: https://github.com/tj/n/pull/764
[#785]: https://github.com/tj/n/pull/785 [#785]: https://github.com/tj/n/pull/785
[#810]: https://github.com/tj/n/pull/810 [#810]: https://github.com/tj/n/pull/810
[#813]: https://github.com/tj/n/pull/813
<!-- reference links for releases --> <!-- reference links for releases -->
[Unreleased]: https://github.com/tj/n/compare/master...develop [Unreleased]: https://github.com/tj/n/compare/master...develop
[10.0.0]: https://github.com/tj/n/compare/v9.2.3...v10.0.0
[9.2.3]: https://github.com/tj/n/compare/v9.2.2...v9.2.3 [9.2.3]: https://github.com/tj/n/compare/v9.2.2...v9.2.3
[9.2.2]: https://github.com/tj/n/compare/v9.2.1...v9.2.2 [9.2.2]: https://github.com/tj/n/compare/v9.2.1...v9.2.2
[9.2.1]: https://github.com/tj/n/compare/v9.2.0...v9.2.1 [9.2.1]: https://github.com/tj/n/compare/v9.2.0...v9.2.1

2
bin/n
View File

@ -61,7 +61,7 @@ function n_grep() {
# Setup and state # Setup and state
# #
VERSION="v9.2.4-0" VERSION="v10.0.0"
N_PREFIX="${N_PREFIX-/usr/local}" N_PREFIX="${N_PREFIX-/usr/local}"
N_PREFIX=${N_PREFIX%/} N_PREFIX=${N_PREFIX%/}