Commit 0bcd4a4f authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmgs: skip autoupdate if we run rpmgs with a version

parent db33c994
......@@ -417,11 +417,11 @@ fi
test -z "$LISTNAMES" && print_error
if $EPMCMD assure gear-rules-verify perl-Gear-Rules ; then
if [ -z "$GSSETVERSION" ] && $EPMCMD assure gear-rules-verify perl-Gear-Rules ; then
docmd gear-rules-verify
gear-rules-verify 2>&1 | grep -q "gear-rules-verify should be run in clean repository" && warning "gear-rules-verify should be run in clean repository"
if gear-rules-verify | grep -q "Ready for tarball update" ; then
[ -n "$GSSETVERSION" ] && warning "we will ignore version and update to the latest version from watch file"
#[ -n "$GSSETVERSION" ] && warning "we will ignore version and update to the latest version from watch file"
# TODO: rpm-uscan 0.20.2.17.11 or above
$EPMCMD assure rpm-uscan
$EPMCMD assure gear-uupdate
......
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