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 2020-12-20 16:56:24 +13:00
parent feddb99772
commit f4712eaa05
2 changed files with 12 additions and 2 deletions

View File

@ -7,8 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
<!-- markdownlint-disable MD024 -->
## [Unreleased] (date goes here)
## [7.0.0] (2020-12-20)
### Changed
- `auto` label now scans for `package.json` only if it can not find a version control file ([#644])
### Added
- `engine` label to look for `engines.node` in `package.json` (as used by`auto`) ([#644])
-
### Fixed
- avoid colorized grep output via `GREP_OPTIONS` breaking version lookup ([#643])
@ -318,10 +326,12 @@ Only minor functional changes, but technically could break scripts relying on sp
[#624]: https://github.com/tj/n/issues/624
[#635]: https://github.com/tj/n/pull/635
[#643]: https://github.com/tj/n/pull/643
[#644]: https://github.com/tj/n/pull/644
<!-- reference links for releases -->
[Unreleased]: https://github.com/tj/n/compare/master...develop
[7.0.0]: https://github.com/tj/n/compare/v6.8.0...v7.0.0
[6.8.0]: https://github.com/tj/n/compare/v6.7.1...v6.8.0
[6.7.1]: https://github.com/tj/n/compare/v6.7.0...v6.7.1
[6.7.0]: https://github.com/tj/n/compare/v6.6.0...v6.7.0

2
bin/n
View File

@ -52,7 +52,7 @@ function n_grep() {
# Setup and state
#
VERSION="6.8.1-0"
VERSION="7.0.0"
N_PREFIX="${N_PREFIX-/usr/local}"
N_PREFIX=${N_PREFIX%/}