Commit 9ff0a7b0 authored by Vitaly Lipatov's avatar Vitaly Lipatov

small cleanup and comments

parent 86a3dad0
......@@ -180,8 +180,9 @@ if [ -n "$UPLOADNOW" ] && is_gear $SPECDIR ; then
echo "Run with gear repo..."
build_rpms_name "$LISTNAMES"
pkg_release_check
check_gear_and_tag # || fatal "Can't make tag"
TAG=$VERSION-$RELEASE
echo "Create $TAG tag..."
check_gear_and_tag # || fatal "Can't make tag"
$ETERBUILDBIN/gpush $GIRARHOST $BASENAME || fatal "Git push via gpush failed. Possibly you need to run ginit for create remote repo."
echo
echo "Run build $BASENAME at $GIRARHOST"
......
......@@ -42,7 +42,7 @@ test -f "$SPEC" || SPEC=$(get_gear_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"
if is_gear `pwd` ; then
if is_gear ; then
#git diff $SPEC
git_commit_ignore_nothing $SPEC -m "update spec to new build $(get_version $SPEC) (with rpmrb script)" || exit 1
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