Commit a4cb53a2 authored by Vitaly Lipatov's avatar Vitaly Lipatov

fix spec and gear checking for set tag

parent ec3a38f3
......@@ -151,15 +151,25 @@ if [ -n "${DELETENOW}" ]; then
exit 0
fi
if [ -n "$SIGN" ]; then
release_check $LISTBUILT
check_gear()
{
local GEARCTAG=gear-create-tag
# create tag according to package release
if is_git $SPECDIR ; then
local GEARCTAG=gear-create-tag
SPECDIR=`dirname $LISTNAMES`
if is_gear $SPECDIR ; then
# needed corrent user.name/user.email for get GPG id
$GEARCTAG --force
# git push ?
fi
}
if [ -n "$SIGN" ]; then
release_check $LISTBUILT
# workaround about spaces in LISTNAMES
if [ -r "$(echo $LISTNAMES)" ] ; then
# if one spec, check gear
check_gear
fi
echog "Will try to sign follow packages with GPG: \$LISTBUILT"
cd $RPMDIR/SRPMS
# 1. only rpm command has --addsign 2. do 3 retries
......
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