From 0918d1d54200fd214197e08e3c8ffa37a7d2c318 Mon Sep 17 00:00:00 2001 From: Loic d'Anterroches Date: Tue, 12 Aug 2008 20:36:41 +0200 Subject: [PATCH] Added the release script. This includes the command to generate the .pot file. --- release-script | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 release-script diff --git a/release-script b/release-script new file mode 100755 index 0000000..8e2faff --- /dev/null +++ b/release-script @@ -0,0 +1,10 @@ +#!/bin/sh +last="$1" +new="$2" +echo "xgettext -o idf.pot -p ./IDF/locale --force-po --from-code=UTF-8 --keyword --keyword=__ --keyword=_n:1,2 -L PHP ./IDF/*.php" +echo "find ./ -iname \"*.php\" -exec xgettext -o idf.pot -p ./IDF/locale/ --from-code=UTF-8 -j --keyword --keyword=__ --keyword=_n:1,2 -L PHP {} \;" +echo "# git tag v$new" +echo "git archive --format=zip --prefix=indefero-$new/ v$new > indefero-$new.zip" +echo "git log --no-merges v$new ^v$last > ChangeLog-$new" +echo "git shortlog --no-merges v$new ^v$last > ShortLog" +echo "git diff --stat --summary -M v$last v$new > diffstat-$new" \ No newline at end of file