[tor-commits] [torbrowser/master] add script to edit changelogs

erinn at torproject.org erinn at torproject.org
Sun Oct 23 23:18:33 UTC 2011


commit ad8aa437c15a9a0943d64a9da5d163951d8f41a2
Author: Erinn Clark <erinn at torproject.org>
Date:   Tue Oct 11 16:13:07 2011 +0100

    add script to edit changelogs
---
 build-scripts/edit-changelog.sh |   28 ++++++++++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)

diff --git a/build-scripts/edit-changelog.sh b/build-scripts/edit-changelog.sh
new file mode 100755
index 0000000..5d269de
--- /dev/null
+++ b/build-scripts/edit-changelog.sh
@@ -0,0 +1,28 @@
+#!/bin/sh
+
+# Create a consistent template for adding changelog entries
+#
+# To use this script, simply run ./edit-changelog.sh osx (or linux, or windows)
+#
+# Copyright Erinn Clark 2011 <erinn at torproject.org>
+# See LICENSE for licensing information
+
+
+VERSION=$(make -f "$PWD"/$1.mk print-version)
+TORNAME="Erinn Clark"
+TOREMAIL="erinn at torproject.org"
+
+cat > $PWD/../tmp.changelog.$1 <<EOF
+Tor Browser Bundle ($VERSION); suite=$1
+
+  *
+  *
+  *
+
+ -- $TORNAME <$TOREMAIL>  $(date)
+
+EOF
+
+mv ../changelog.$1-2.2 ../changelog.$1-2.2-old
+cat ../tmp.changelog.$1 ../changelog.$1-2.2-old >> ../changelog.$1-2.2
+





More information about the tor-commits mailing list