summaryrefslogtreecommitdiff
path: root/scripts/release.sh
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhsoting.net>2019-04-26 17:57:49 +0200
committerJörg Frings-Fürst <debian@jff-webhsoting.net>2019-04-26 17:57:49 +0200
commit1920f1b489a54e8ab97a3e24b1bab64831e32b53 (patch)
tree1cdcec7df7eafec396d29e94bc35554c210fb8db /scripts/release.sh
parent63b80068976fbc5460c284aef0e6560abcf13e68 (diff)
New upstream version 0.9.2upstream/0.9.2
Diffstat (limited to 'scripts/release.sh')
-rwxr-xr-xscripts/release.sh57
1 files changed, 57 insertions, 0 deletions
diff --git a/scripts/release.sh b/scripts/release.sh
new file mode 100755
index 0000000..ffca2fd
--- /dev/null
+++ b/scripts/release.sh
@@ -0,0 +1,57 @@
+#! /usr/bin/env bash
+(
+cd $(dirname $(which "$0"))/.. || exit 1
+####################################################################
+
+
+echo ========== cleanup ==========
+rm -vf uriparser-*.tar.* uriparser-*.zip 2> /dev/null
+rm -vRf uriparser-* 2> /dev/null
+
+echo
+echo ========== configure ==========
+cmake . || exit 1
+
+echo
+echo ========== make distcheck ==========
+./make-distcheck.sh || exit 1
+
+echo
+echo ========== package docs ==========
+./doc/release.sh || exit 1
+
+
+####################################################################
+)
+res=$?
+[ $res = 0 ] || exit $res
+
+cat <<'CHECKLIST'
+
+Fine.
+
+
+Have you
+* run ./edit_version.sh
+* updated the soname
+* updated file lists
+ - Makefile.am
+ - Code::Blocks
+ - Visual Studio 2005
+* searched for TODO inside code using
+ grep -R 'TODO' include/* lib/* test/*
+?
+
+If so ..
+* upload release with ReleaseForge
+* announce through ..
+ - Blog
+ - Mailing lists
+ - Freshmeat
+ - SourceForge news
+* upload doc
+* update doc to website
+* tag svn trunk
+
+CHECKLIST
+exit $res