Commit 71d87004 authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmlog: use gammit

parent 9a5da2e0
...@@ -101,7 +101,7 @@ if [ -z "$FROMTAG" ] ; then ...@@ -101,7 +101,7 @@ if [ -z "$FROMTAG" ] ; then
# FIXME: if don't exists, use last tag? # FIXME: if don't exists, use last tag?
fi fi
if is_last_commit_tag ; then if [ -z "$CHANGELOGADD" ] && is_last_commit_tag ; then
echo "There is no new commits after $(get_last_tag)" echo "There is no new commits after $(get_last_tag)"
exit 0 exit 0
fi fi
...@@ -147,5 +147,5 @@ fi ...@@ -147,5 +147,5 @@ fi
add_changelog_helper "$CHANGELOG" $SPECNAME || fatal "add_changelog failed, do not commit anything" add_changelog_helper "$CHANGELOG" $SPECNAME || fatal "add_changelog failed, do not commit anything"
# TODO: use gear-commit ? #git_commit_ignore_nothing $SPECNAME -m "new build $NEWREV (with rpmlog script)"
git_commit_ignore_nothing $SPECNAME -m "new build $NEWREV (with rpmlog script)" gammit --spec=$SPECNAME $SPECNAME
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment