Commit 83eba885 authored by Vitaly Lipatov's avatar Vitaly Lipatov

autocommit spec

parent 799f4764
...@@ -35,5 +35,11 @@ test -e "$SPEC" || fatal "use with spec" ...@@ -35,5 +35,11 @@ test -e "$SPEC" || fatal "use with spec"
rpmgs $SPEC $VER || fatal "Error with get source" 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" 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
fi
rpmbsh $REMOTE -i $SPEC || fatal "Error with build in hasher" rpmbsh $REMOTE -i $SPEC || fatal "Error with build in hasher"
rpmbs -u $SPEC || fatal "Error with upload" rpmbs -u $SPEC || fatal "Error with upload"
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