Skip to content

Commit 78a42f6

Browse files
committed
add tool to ease making commits
1 parent e78019d commit 78a42f6

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

makefile

+3
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,9 @@ doc:
241241
change: format
242242
vim ixwebsocket/IXWebSocketVersion.h docs/CHANGELOG.md
243243

244+
commit:
245+
git commit -am "`sh tools/extract_latest_change.sh`"
246+
244247
.PHONY: test
245248
.PHONY: build
246249
.PHONY: ws

tools/extract_latest_change.sh

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
3+
grep -A 3 '^##' docs/CHANGELOG.md | head -n 3 | tail -n 1

0 commit comments

Comments
 (0)