Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 14 lines (10 sloc) 0.309 kb
01df764 Mislav Marohnić add scripts to help with release process
mislav authored
1 #!/bin/bash
2 ## Prevents a commit that changes version but doesn't update HISTORY.md
3
4 set -e
5
6 new_version="$("$(dirname "$0")"/changed-version)" || exit 0
7
8 if git cat-file blob :HISTORY.md | head -1 | grep $new_version >/dev/null; then
9 exit 0
10 else
11 echo "aborted: History.md is out of date" >&2
12 exit 1
13 fi
Something went wrong with that request. Please try again.