release-sign-tarballs revision 3114ead9a60b65191e92dea6c76c038c03a8f1dc
SIGNER="bryce@bryceharrington.org"
VERSION="0.92"
PKG_NAME="inkscape"
# Locate Dependencies
#------------------------------------------------------------------------------
# Choose which make program to use (could be gmake)
# Set the default make tarball creation command
# Choose which grep program to use (on Solaris, must be gnu grep)
if [ "x$GREP" = "x" ] ; then
else
fi
fi
# Find path for GnuPG v2
if [ "x$GPG" = "x" ] ; then
else
fi
fi
# Function: sign_or_fail
#------------------------------------------------------------------------------
#
# Sign the given file, if any
# Output the name of the signature generated to stdout (all other output to
# stderr)
# Return 0 on success, 1 on fail
#
if [ -n "$1" ]; then
if [ $? -ne 0 ]; then
echo "Error: failed to sign $1." >&2
return 1
fi
echo $sig
fi
return 0
}
zip="${PKG_NAME}-${VERSION}.zip"
# The tar.gz is always required
if [ -e "${tarbz2}" ]; then
fi
if [ -e "${tarxz}" ]; then
fi
if [ -e "${zip}" ]; then
fi
if [ ${gpgsignerr} -ne 0 ]; then
echo "Error: unable to sign at least one of the tarballs."
return 1
fi
return 0;
}
}
generate_announce > "$tar_name.announce"
echo "Info: [ANNOUNCE] template generated in \"$tar_name.announce\" file."
echo " Please pgp sign and send it."
return 0
}