File: release.sh

package info (click to toggle)
uriparser 0.9.8%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 860 kB
  • sloc: ansic: 5,787; cpp: 2,627; sh: 158; makefile: 24
file content (57 lines) | stat: -rwxr-xr-x 1,017 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
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