]>
Dogcows Code - chaz/openbox/blob - release/email
4 echo "Usage: $0 <revision> <version> [lastrelease]"
6 echo " <revision> The revision which should be used for release."
7 echo " <version> The version of the release."
8 echo " [lastrelease] The revision of the most recent release made."
9 echo " By default it uses the most recent release-tag."
14 test -z "$REV" && help
16 test -z "$VERSION" && help
21 SUBJECT
="[RELEASE] Openbox $VERSION"
22 MAILINGLIST
=openbox@icculus.org
23 MIKACHU
=mikachu@icculus.org
25 cat <<EOF > $WORKDIR/.email
28 Openbox $VERSION is now available!
30 Some noteworthy changes are:
33 ======== Download ========
35 Download links are here: http://openbox.org/wiki/Openbox:Download
37 ======== Commits ========
39 The following is a full list of commits appearing in this release.
40 You can see the full commits here: http://git.openbox.org/?p=dana/openbox.git;a=shortlog;h=refs/tags/release-$VERSION
46 if test -z $EDITOR; then
47 nano
-w $WORKDIR/.email
|| error
"failed to edit email, set \$EDITOR"
49 $EDITOR $WORKDIR/.email
|| error
"failed to edit email with \$EDTIOR"
52 test -e $WORKDIR/.email
|| error
"email file disappeared"
53 cat $WORKDIR/.email
| mail -s "$SUBJECT" "$MAILINGLIST" || \
54 error
"mail to $MAILINGLIST failed"
58 Please update the freshmeat.net Openbox stuff for $VERSION. Thanks!" | \
59 mail -s "Freshmeat.net for Openbox $VERSION" "$MIKACHU" || \
60 error
"mail to $MIKACHU failed"
This page took 0.035977 seconds and 4 git commands to generate.