diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2022-02-08 09:29:39 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2022-02-09 12:04:24 +1000 |
commit | 3718ed3f1a9b7d001ff2d76dbe1999b54809106d (patch) | |
tree | a362bf292f96fbf22ec75cff68384b0caeb029e2 | |
parent | ae5ac76c4f07c5487e3bcad64ef1d80e9702d336 (diff) | |
download | xf86-input-wacom-3718ed3f1a9b7d001ff2d76dbe1999b54809106d.tar.gz |
release.sh: markdown-ify the announce "email"
This hasn't been an actual email for ages, the content of this is just
uploaded as release text to github. So let's drop the subject line and
make the rest easier to read.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rwxr-xr-x | release.sh | 37 |
1 files changed, 24 insertions, 13 deletions
@@ -167,25 +167,36 @@ release_to_github() { # generate_announce() { - MD5SUM=`which md5sum || which gmd5sum` - SHA1SUM=`which sha1sum || which gsha1sum` - SHA256SUM=`which sha256sum || which gsha256sum` + MD5SUM_BIN=$(which md5sum || which gmd5sum) + SHA1SUM_BIN=$(which sha1sum || which gsha1sum) + SHA256SUM_BIN=$(which sha256sum || which gsha256sum) + MD5SUM=$($MD5SUM_BIN $tarball) + SHA1SUM=$($SHA1SUM_BIN $tarball) + SHA256SUM=$($SHA256SUM_BIN $tarball) + BT='`' + BT3='```' cat <<RELEASE -Subject: [ANNOUNCE] $pkg_name $pkg_version -`git log --no-merges "$tag_range" | git shortlog` +## Tag -git tag: $tag_name +git tag: ${BT}${tag_name}${BT} -RELEASE +## Downloads + +${DL_URL} + +Checksums: + +- **MD5**: ${BT}$MD5SUM${BT} +- **SHA1**: ${BT}$SHA1SUM${BT} +- **SHA256**: ${BT}$SHA256SUM${BT} +- **PGP**: $PGP_URL - cat <<RELEASE -$DL_URL - MD5: `$MD5SUM $tarball` - SHA1: `$SHA1SUM $tarball` - SHA256: `$SHA256SUM $tarball` - PGP: $PGP_URL +## Log +${BT3} +$(git log --no-merges "$tag_range" | git shortlog) +${BT3} RELEASE } |