add tool to ease making commits
This commit is contained in:
parent
e78019dad6
commit
78a42f61bd
3
makefile
3
makefile
@ -241,6 +241,9 @@ doc:
|
||||
change: format
|
||||
vim ixwebsocket/IXWebSocketVersion.h docs/CHANGELOG.md
|
||||
|
||||
commit:
|
||||
git commit -am "`sh tools/extract_latest_change.sh`"
|
||||
|
||||
.PHONY: test
|
||||
.PHONY: build
|
||||
.PHONY: ws
|
||||
|
3
tools/extract_latest_change.sh
Normal file
3
tools/extract_latest_change.sh
Normal file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
grep -A 3 '^##' docs/CHANGELOG.md | head -n 3 | tail -n 1
|
Loading…
Reference in New Issue
Block a user