release-sign-tarballs revision cac133768c18c89d4fccd4fc65d1a95232b51406
3114ead9a60b65191e92dea6c76c038c03a8f1dcbryce# Locate Dependencies
3114ead9a60b65191e92dea6c76c038c03a8f1dcbryce#------------------------------------------------------------------------------
3114ead9a60b65191e92dea6c76c038c03a8f1dcbryce# Choose which make program to use (could be gmake)
3114ead9a60b65191e92dea6c76c038c03a8f1dcbryce# Set the default make tarball creation command
3114ead9a60b65191e92dea6c76c038c03a8f1dcbryce# Choose which grep program to use (on Solaris, must be gnu grep)
3114ead9a60b65191e92dea6c76c038c03a8f1dcbryce# Find path for GnuPG v2
cac133768c18c89d4fccd4fc65d1a95232b51406bryce#------------------------------------------------------------------------------
cac133768c18c89d4fccd4fc65d1a95232b51406bryce#------------------------------------------------------------------------------
cac133768c18c89d4fccd4fc65d1a95232b51406bryce# Function: make_dist
cac133768c18c89d4fccd4fc65d1a95232b51406bryce# Create the package distribution
cac133768c18c89d4fccd4fc65d1a95232b51406bryce# Return 0 on success, 1 on fail
cac133768c18c89d4fccd4fc65d1a95232b51406bryce if [ ! -d .bzr ]; then
cac133768c18c89d4fccd4fc65d1a95232b51406bryce status_file=$(find . -name ${config_indicator} -type f)
cac133768c18c89d4fccd4fc65d1a95232b51406bryce if [ $? -ne 0 ]; then
cac133768c18c89d4fccd4fc65d1a95232b51406bryce configNum=$(echo "$status_file" | wc -l | sed 's:^ *::')
cac133768c18c89d4fccd4fc65d1a95232b51406bryce echo "Error: Failed to locate ${config_indicator}, has the module been configured?"
cac133768c18c89d4fccd4fc65d1a95232b51406bryce echo "Error: More than one ${config_indicator} file was found."
cac133768c18c89d4fccd4fc65d1a95232b51406bryce echo "Please cleanup previously failed attempts at distcheck."
cac133768c18c89d4fccd4fc65d1a95232b51406bryce if [ $? -ne 0 ]; then
cac133768c18c89d4fccd4fc65d1a95232b51406bryce echo "Error: Failed to cd to build directory ${build_dir}."
cac133768c18c89d4fccd4fc65d1a95232b51406bryce if [ $? -ne 0 ]; then
cac133768c18c89d4fccd4fc65d1a95232b51406bryce echo "Info: running 'make $MAKE_DIST_CMD' to create tarballs:"
cac133768c18c89d4fccd4fc65d1a95232b51406bryce if [ $? -ne 0 ]; then
cac133768c18c89d4fccd4fc65d1a95232b51406bryce echo "Error: '${MAKE} ${MAKEFLAGS} ${MAKE_DIST_CMD}' failed."
3114ead9a60b65191e92dea6c76c038c03a8f1dcbryce# Function: sign_or_fail
3114ead9a60b65191e92dea6c76c038c03a8f1dcbryce#------------------------------------------------------------------------------
3114ead9a60b65191e92dea6c76c038c03a8f1dcbryce# Sign the given file, if any
3114ead9a60b65191e92dea6c76c038c03a8f1dcbryce# Output the name of the signature generated to stdout (all other output to
3114ead9a60b65191e92dea6c76c038c03a8f1dcbryce# Return 0 on success, 1 on fail
3114ead9a60b65191e92dea6c76c038c03a8f1dcbryce if [ $? -ne 0 ]; then
3114ead9a60b65191e92dea6c76c038c03a8f1dcbryce if [ ${gpgsignerr} -ne 0 ]; then
3114ead9a60b65191e92dea6c76c038c03a8f1dcbryce echo "Error: unable to sign at least one of the tarballs."
72ba327677b00dc4013e4ca19dd5ac4b87da63cebryce # TODO: Once converted to git, enable display of shortlog
72ba327677b00dc4013e4ca19dd5ac4b87da63cebryce #tag_previous=`git describe --abbrev=0 HEAD^ 2>/dev/null`
72ba327677b00dc4013e4ca19dd5ac4b87da63cebryceSubject: [ANNOUNCE] $PKG_NAME $VERSION
72ba327677b00dc4013e4ca19dd5ac4b87da63cebryceTo: $LIST_TO
72ba327677b00dc4013e4ca19dd5ac4b87da63cebryceCc: $LIST_CC
72ba327677b00dc4013e4ca19dd5ac4b87da63cebryceThe Inkscape community proudly announces the release of Inkscape $VERSION.
72ba327677b00dc4013e4ca19dd5ac4b87da63cebryce https://inkscape.org/en/download/
72ba327677b00dc4013e4ca19dd5ac4b87da63cebryceInkscape is a drawing and painting tool similar to Illustrator,
72ba327677b00dc4013e4ca19dd5ac4b87da63cebryceCorelDraw, and Xara X, but with features, new tools, and interface style
72ba327677b00dc4013e4ca19dd5ac4b87da63cebryceof its own. It emphasizes the W3C standard Scalable Vector Graphics
72ba327677b00dc4013e4ca19dd5ac4b87da63cebryce(SVG) file format, but reads and writes a wealth of other formats
72ba327677b00dc4013e4ca19dd5ac4b87da63cebryceincluding PDF, so it is an easy complement to your other graphics and
72ba327677b00dc4013e4ca19dd5ac4b87da63cebrycedesktop tools. Best of all, Inkscape is created *by* the community *for*
72ba327677b00dc4013e4ca19dd5ac4b87da63cebrycethe community: Inkscape is 100% Open Source and freely available to
72ba327677b00dc4013e4ca19dd5ac4b87da63cebryceeveryone in the world.
72ba327677b00dc4013e4ca19dd5ac4b87da63cebryce<INSERT DETAILS ABOUT THE RELEASE HERE>
72ba327677b00dc4013e4ca19dd5ac4b87da63cebryceThe above barely scratches the surface of what's included in this
72ba327677b00dc4013e4ca19dd5ac4b87da63cebrycerelease. For the full scoop, please see our detailed Release Notes:
72ba327677b00dc4013e4ca19dd5ac4b87da63cebryce http://wiki.inkscape.org/wiki/index.php/Release_notes/$VERSION
72ba327677b00dc4013e4ca19dd5ac4b87da63cebrycegit tag: $tag_name
3114ead9a60b65191e92dea6c76c038c03a8f1dcbryce echo "Info: [ANNOUNCE] template generated in \"$tar_name.announce\" file."