Commit d356de70 authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmrb: use git_commit_ignore_nothing

parent 1053ae48
......@@ -40,10 +40,9 @@ test -e "$SPEC" || fatal "use with spec"
$ETERBUILDBIN/rpmgs $SPEC $VER || fatal "Error with get source"
add_changelog_helper "- new version $(get_version $SPEC) (with rpmrb script)" $SPEC || echog "Changelog entry already exists"
# TODO
if is_gear `pwd` ; then
#git diff $SPEC
git commit $SPEC -m "update spec to new build" || exit 1
git_commit_ignore_nothing $SPEC -m "update spec to new build $(get_version $SPEC) (with rpmrb script)" || exit 1
fi
$ETERBUILDBIN/rpmbsh $REMOTE -i $SPEC || fatal "Error with build in hasher"
......
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