Files
oak-editor/debian/gitfromlog.sh
T
2019-06-15 07:39:55 -07:00

3 lines
129 B
Bash

# A simple script to extract the Git hash from an auto-generated debian/changelog
grep -Po '(?<=-)(([a-z0-9])\w+)(?=\+)' -m 1 $1