summaryrefslogtreecommitdiff
path: root/tools/make-release-notes
diff options
context:
space:
mode:
authorJosh Suereth <joshua.suereth@gmail.com>2012-07-12 15:07:41 -0400
committerJosh Suereth <joshua.suereth@gmail.com>2012-07-12 15:07:41 -0400
commit761c5fe29dbaaa73d1971d560e46d834c7aa2142 (patch)
treee85e7100d36a760e23679b2a1e1da68b03d0fb8c /tools/make-release-notes
parented2408f160280cd67451b2a0bcc63587564fc949 (diff)
downloadscala-761c5fe29dbaaa73d1971d560e46d834c7aa2142.tar.gz
scala-761c5fe29dbaaa73d1971d560e46d834c7aa2142.tar.bz2
scala-761c5fe29dbaaa73d1971d560e46d834c7aa2142.zip
New make release notes script, this time scala-ified for more POWER, cap'n.
Diffstat (limited to 'tools/make-release-notes')
-rwxr-xr-xtools/make-release-notes49
1 files changed, 0 insertions, 49 deletions
diff --git a/tools/make-release-notes b/tools/make-release-notes
deleted file mode 100755
index dcd206f7fc..0000000000
--- a/tools/make-release-notes
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/usr/bin/env bash
-
-# This tool is used to build a *scaffold* of a release note that you can fill in details with before posting to the list.
-# It aims to provide *all* the information you need, and probably need to prune it before releasing.
-# Author: jsuereth
-
-fixMessages() {
- local tag1="$1"
- local tag2="$2"
- git log $tag1..$tag2 "--format=format: * %h - %s" --no-merges --grep "SI-"
-}
-
-allcommitMessages() {
- local tag1="$1"
- local tag2="$2"
- git log $tag1..$tag2 "--format=format: * %h - %s" --no-merges
-}
-
-authors() {
- local tag1="$1"
- local tag2="$2"
- git log $tag1..$tag2 --format=format:%an --no-merges | sort | uniq -c | sort -rh
-}
-
-
-message() {
- local tag1="$1"
- local tag2="$2"
-
- echo "A new release of Scala is available! Please point your build tools at ${tag2#v}"
- echo
- echo "Here's a list of the issues that have been fixed since ${tag1#v}: "
- fixMessages "$tag1" "$tag2"
- echo
- echo
- echo "Special thanks to all the contributions!"
- echo "------- --------------------------------"
- authors "$tag1" "$tag2"
- echo "------- --------------------------------"
- echo
- echo
- echo "Here's a complete list of changes:"
- allcommitMessages "$tag1" "$tag2"
-}
-
-
-message "$1" "$2"
-
-