diff options
author | Scott Moser <smoser@brickies.net> | 2017-06-28 12:54:24 -0400 |
---|---|---|
committer | Scott Moser <smoser@brickies.net> | 2017-06-28 13:24:59 -0400 |
commit | 95bf8e7168ced7cd0b424e6928fc155a0a24ad2d (patch) | |
tree | 98978bbfd724d384b190d1637600e014a848b5af | |
parent | 8bb9e246a656ac61bf182bbcb5decde21cc241f1 (diff) | |
download | cloud-init-git-95bf8e7168ced7cd0b424e6928fc155a0a24ad2d.tar.gz |
debian/cherry-pick: separate out changes to changelog
-rwxr-xr-x | debian/cherry-pick | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/debian/cherry-pick b/debian/cherry-pick index 4906917f..dd557246 100755 --- a/debian/cherry-pick +++ b/debian/cherry-pick @@ -170,7 +170,7 @@ main() { } local commit_files="" - commit_files=( debian/changelog "$series" "$fpath" ) + commit_files=( "$series" "$fpath" ) git diff HEAD "${commit_files[@]}" echo -n "Commit this change? (Y/n): " @@ -187,6 +187,9 @@ main() { git commit -m "$msg" "${commit_files[@]}" || fail "failed to commit '$msg'" + git commit -m "update changelog" debian/changelog || + fail "failed to commit update to debian changelog." + return 0 } |