diff options
author | Daniel Nephin <dnephin@docker.com> | 2015-11-03 16:58:30 -0500 |
---|---|---|
committer | Daniel Nephin <dnephin@docker.com> | 2015-11-05 10:25:46 -0500 |
commit | d18ad4c81221e13346b8840a35a3defb71d86378 (patch) | |
tree | c1102ebe1d409c6b28635582b51aedcc24b53323 /script/release | |
parent | 6b002fb9225907f1c9b48523879b1263b607bdeb (diff) |
Fix rebase-bump-commit script when used with a final release.
Previously it would find commits for RC releases, which broke the rebase.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
Diffstat (limited to 'script/release')
-rwxr-xr-x | script/release/rebase-bump-commit | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/release/rebase-bump-commit b/script/release/rebase-bump-commit index 14ad22a9..23877bb5 100755 --- a/script/release/rebase-bump-commit +++ b/script/release/rebase-bump-commit @@ -22,7 +22,7 @@ VERSION="$(git config "branch.${BRANCH}.release")" || usage COMMIT_MSG="Bump $VERSION" -sha="$(git log --grep "$COMMIT_MSG" --format="%H")" +sha="$(git log --grep "$COMMIT_MSG\$" --format="%H")" if [ -z "$sha" ]; then >&2 echo "No commit with message \"$COMMIT_MSG\"" exit 2 |