release-sign-tarballs revision 7923e87a291880ac8293fb5d1a1e1b759b23a091
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# Locate Dependencies
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe#------------------------------------------------------------------------------
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# Choose which make program to use (could be gmake)
f71f7a61dec7c9089378d14493ad564a1dedf0b5neil_a_wilson# Set the default make tarball creation command
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# Choose which grep program to use (on Solaris, must be gnu grep)
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# Find path for GnuPG v2
69de0fe5b7ed905860bef5f86937d30cc206ef7dneil_a_wilson#------------------------------------------------------------------------------
69de0fe5b7ed905860bef5f86937d30cc206ef7dneil_a_wilsonUsage: $basename [options] path...
014019918f7e3844f558f6159b8d41517254edc2lutoffWhere "path" is a relative path to a ${VCS_SYSTEM} module, including '.'.
7b94de75a19ac6d37a440a7915ae0c7b7c024527jvergaraEnvironment variables:
7b94de75a19ac6d37a440a7915ae0c7b7c024527jvergara MAKE: The name of the make command [make]
7b94de75a19ac6d37a440a7915ae0c7b7c024527jvergara MAKEFLAGS: Options to pass to all \$(MAKE) invocations []
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara#------------------------------------------------------------------------------
44a7ec1a853804826c90cda2fbb4ac712c86bbaaludovicp#------------------------------------------------------------------------------
2ed4722b4c052dcfe7884519a119e68a295f77afludovicp# Function: make_dist
44a7ec1a853804826c90cda2fbb4ac712c86bbaaludovicp# Create the package distribution
44a7ec1a853804826c90cda2fbb4ac712c86bbaaludovicp# Return 0 on success, 1 on fail
44a7ec1a853804826c90cda2fbb4ac712c86bbaaludovicp echo "Error: There is no bzr repository here: $(pwd)"
d3ce44d37110c284dad15122841fd97ee41d9ac5ludo echo "Error: Unrecognized version control '$VCS_SYSTEM'."
d3ce44d37110c284dad15122841fd97ee41d9ac5ludo status_file=$(find . -name ${config_indicator} -type f)
6733dfd94dda39b3bce6e9fe9713d4d2379cbb85chebrard if [ $? -ne 0 ]; then
44a7ec1a853804826c90cda2fbb4ac712c86bbaaludovicp configNum=$(echo "$status_file" | wc -l | sed 's:^ *::')
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara echo "Error: Failed to locate ${config_indicator}, has the module been configured?"
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara echo "Error: More than one ${config_indicator} file was found."
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara echo "Please cleanup previously failed attempts at distcheck."
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara if [ $? -ne 0 ]; then
7b94de75a19ac6d37a440a7915ae0c7b7c024527jvergara echo "Error: Failed to cd to build directory ${build_dir}."
7070667c2dffad87009999bdeb16d5305e0afdbejvergara if [ $? -ne 0 ]; then
7070667c2dffad87009999bdeb16d5305e0afdbejvergara echo "Info: running 'make $MAKE_DIST_CMD' to create tarballs:"
7070667c2dffad87009999bdeb16d5305e0afdbejvergara if [ $? -ne 0 ]; then
7070667c2dffad87009999bdeb16d5305e0afdbejvergara echo "Error: '${MAKE} ${MAKEFLAGS} ${MAKE_DIST_CMD}' failed."
f567e484335734979b8ff593b1f9357dd48d10f9jvergara# Function: sign_or_fail
7070667c2dffad87009999bdeb16d5305e0afdbejvergara#------------------------------------------------------------------------------
61ae414d98d24ba4a72a905b07db9424353669f4neil_a_wilson# Sign the given file, if any
61ae414d98d24ba4a72a905b07db9424353669f4neil_a_wilson# Output the name of the signature generated to stdout (all other output to
61ae414d98d24ba4a72a905b07db9424353669f4neil_a_wilson# Return 0 on success, 1 on fail
7070667c2dffad87009999bdeb16d5305e0afdbejvergara if [ $? -ne 0 ]; then
7070667c2dffad87009999bdeb16d5305e0afdbejvergara if [ ${gpgsignerr} -ne 0 ]; then
7070667c2dffad87009999bdeb16d5305e0afdbejvergara echo "Error: unable to sign at least one of the tarballs."
7070667c2dffad87009999bdeb16d5305e0afdbejvergara # TODO: Once converted to git, enable display of shortlog
7070667c2dffad87009999bdeb16d5305e0afdbejvergara #tag_previous=`git describe --abbrev=0 HEAD^ 2>/dev/null`
7070667c2dffad87009999bdeb16d5305e0afdbejvergaraSubject: [ANNOUNCE] $PKG_NAME $VERSION
7070667c2dffad87009999bdeb16d5305e0afdbejvergaraTo: $LIST_TO
7070667c2dffad87009999bdeb16d5305e0afdbejvergaraCc: $LIST_CC
7070667c2dffad87009999bdeb16d5305e0afdbejvergaraThe Inkscape community proudly announces the release of Inkscape $VERSION.
7b94de75a19ac6d37a440a7915ae0c7b7c024527jvergara https://inkscape.org/en/download/
7b94de75a19ac6d37a440a7915ae0c7b7c024527jvergaraInkscape is a drawing and painting tool similar to Illustrator,
7b94de75a19ac6d37a440a7915ae0c7b7c024527jvergaraCorelDraw, and Xara X, but with features, new tools, and interface style
7b94de75a19ac6d37a440a7915ae0c7b7c024527jvergaraof its own. It emphasizes the W3C standard Scalable Vector Graphics
7b94de75a19ac6d37a440a7915ae0c7b7c024527jvergara(SVG) file format, but reads and writes a wealth of other formats
61ae414d98d24ba4a72a905b07db9424353669f4neil_a_wilsonincluding PDF, so it is an easy complement to your other graphics and
61ae414d98d24ba4a72a905b07db9424353669f4neil_a_wilsondesktop tools. Best of all, Inkscape is created *by* the community *for*
014019918f7e3844f558f6159b8d41517254edc2lutoffthe community: Inkscape is 100% Open Source and freely available to
61ae414d98d24ba4a72a905b07db9424353669f4neil_a_wilsoneveryone in the world.
61ae414d98d24ba4a72a905b07db9424353669f4neil_a_wilson<INSERT DETAILS ABOUT THE RELEASE HERE>
61ae414d98d24ba4a72a905b07db9424353669f4neil_a_wilsonThe above barely scratches the surface of what's included in this
61ae414d98d24ba4a72a905b07db9424353669f4neil_a_wilsonrelease. For the full scoop, please see our detailed Release Notes:
7070667c2dffad87009999bdeb16d5305e0afdbejvergara http://wiki.inkscape.org/wiki/index.php/Release_notes/$VERSION
7070667c2dffad87009999bdeb16d5305e0afdbejvergaragit tag: $tag_name
7a76def451cc02fcd02d8d6ff35d4751db91b206jvergara echo "Info: [ANNOUNCE] template generated in \"$tar_name.announce\" file."