Commit b09a756d authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmlog: run hook .gear/new-build-postcommit-hook if needed

parent 64de7581
......@@ -197,3 +197,9 @@ add_changelog_helper "$CHANGELOG" $SPECNAME || fatal "add_changelog failed, do n
#git_commit_ignore_nothing $SPECNAME -m "new build $NEWREV (with rpmlog script)"
gammit $QUIET --spec=$SPECNAME $SPECNAME
RGD=$(get_root_git_dir)
hook=$RGD/.gear/new-build-postcommit-hook
if [ -s $hook ] ; then
( cd $RGD && sh $hook $NEWREV ) || fatal "Failed with hook $hook"
fi
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