Skip to content

Commit

Permalink
add tool to ease making commits
Browse files Browse the repository at this point in the history
  • Loading branch information
bsergean committed Jul 24, 2020
1 parent e78019d commit 78a42f6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 3 additions & 0 deletions tools/extract_latest_change.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

grep -A 3 '^##' docs/CHANGELOG.md | head -n 3 | tail -n 1

0 comments on commit 78a42f6

Please sign in to comment.