mirror of
https://github.com/preservim/nerdtree.git
synced 2024-11-29 12:43:44 +08:00
Update PULL_REQUEST_TEMPLATE.md
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.
This commit is contained in:
parent
42a5a2c106
commit
2af10e3589
2
.github/PULL_REQUEST_TEMPLATE.md
vendored
2
.github/PULL_REQUEST_TEMPLATE.md
vendored
|
@ -17,6 +17,6 @@ Closes # <!-- Enter the issue number this PR addresses. If none, remove this
|
||||||
```bash
|
```bash
|
||||||
git checkout master
|
git checkout master
|
||||||
git pull
|
git pull
|
||||||
sed -n "$(grep -n '####' CHANGELOG.md | head -2 | sed -e 's/:.*//' | sed 'N;s/\n/,/')p" CHANGELOG.md | sed '$d'
|
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
|
git tag -a $(read -p "Tag Name: " tag;echo $tag) -m"$(git show --quiet --pretty=%s)";git push origin --tags
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue
Block a user