[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [torbrowser/master] add script to edit changelogs
commit ad8aa437c15a9a0943d64a9da5d163951d8f41a2
Author: Erinn Clark <erinn@xxxxxxxxxxxxxx>
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@xxxxxxxxxxxxxx>
+# See LICENSE for licensing information
+
+
+VERSION=$(make -f "$PWD"/$1.mk print-version)
+TORNAME="Erinn Clark"
+TOREMAIL="erinn@xxxxxxxxxxxxxx"
+
+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
+
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits