Commit 90e50696 authored by Vitaly Lipatov's avatar Vitaly Lipatov

fix create tag

parent d294fd39
...@@ -163,7 +163,7 @@ check_gear_and_tag() ...@@ -163,7 +163,7 @@ check_gear_and_tag()
fi fi
if is_gear $SPECDIR ; then if is_gear $SPECDIR ; then
# needed corrent user.name/user.email for get GPG id # needed correct user.name/user.email for get GPG id
pushd $SPECDIR pushd $SPECDIR
$GEARCTAG --force $GEARCTAG --force
popd >/dev/null popd >/dev/null
...@@ -177,7 +177,10 @@ if [ -n "$SIGN" ]; then ...@@ -177,7 +177,10 @@ if [ -n "$SIGN" ]; then
cd $RPMTOPDIR/SRPMS cd $RPMTOPDIR/SRPMS
if [ -r "$LISTBUILT" ] ; then if [ -r "$LISTBUILT" ] ; then
echo if one spec, check gear echo if one spec, check gear
[ -n "$SPECDIR" ] || SPECDIR=`dirname $LISTNAMES`
cd -
check_gear_and_tag $SPECDIR check_gear_and_tag $SPECDIR
cd $RPMTOPDIR/SRPMS
fi fi
echog "Will try to sign follow packages with GPG: \$LISTBUILT" echog "Will try to sign follow packages with GPG: \$LISTBUILT"
......
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