Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

12 lines (8 sloc) 0.291 kB
#!/bin/bash
## Checks that commit that changes version number includes it in subject line.
set -e
new_version="$("$(dirname "$0")"/changed-version)" || exit 0
head -1 "$1" | grep "$new_version" >/dev/null || {
echo "aborted: version $new_version not present in subject line"
exit 1
}
Jump to Line
Something went wrong with that request. Please try again.