diff options
author | Jörg Frings-Fürst <debian@jff-webhsoting.net> | 2019-04-26 17:58:14 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhsoting.net> | 2019-04-26 17:58:14 +0200 |
commit | fddb419b78bc873fb6fb9e8dc49c28e5ac5113f1 (patch) | |
tree | 3009ac597dd206aa4bfaa50725ed6e7542119877 /scripts | |
parent | 4c6be44409a51e938aa1c9e4d920348d5317a3d2 (diff) | |
parent | 5444b1728ba7cfc55e85fd3022b6e88c9441327c (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/edit_version.sh | 7 | ||||
-rwxr-xr-x | scripts/release.sh | 57 |
2 files changed, 64 insertions, 0 deletions
diff --git a/scripts/edit_version.sh b/scripts/edit_version.sh new file mode 100755 index 0000000..372b29b --- /dev/null +++ b/scripts/edit_version.sh @@ -0,0 +1,7 @@ +#! /usr/bin/env bash +kwrite \ + include/uriparser/Uri.h \ + include/uriparser/UriBase.h \ + configure.ac \ + ChangeLog \ + & 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 |