mirror of
https://github.com/preservim/nerdtree.git
synced 2024-11-23 03:18:01 +08:00
2af10e3589
Use a shorter command to display the recent patches: replace `| head -2` with `-m2` grep switch; replace a `sed` with `cut` to get the line numbers.
1.1 KiB
1.1 KiB
Description of Changes
Closes #
New Version Info
Author's Instructions
- Derive a new
MAJOR.MINOR.PATCH
version number. Increment the:MAJOR
version when you make incompatible API changesMINOR
version when you add functionality in a backwards-compatible mannerPATCH
version when you make backwards-compatible bug fixes
- Update CHANGELOG.md, following the established pattern.
Collaborator's Instructions
- Review CHANGELOG.md, suggesting a different version number if necessary.
- After merging, tag the commit using these (Mac-compatible) bash commands:
git checkout master git pull sed -n "$(grep -n -m2 '####' CHANGELOG.md | cut -f1 -d: | sed 'N;s/\n/,/')p" CHANGELOG.md | sed '$d' git tag -a $(read -p "Tag Name: " tag;echo $tag) -m"$(git show --quiet --pretty=%s)";git push origin --tags