summaryrefslogtreecommitdiffstats
path: root/release_howto
blob: 49b847b067b9fa66828fed7d7df1e808fb128e2f (plain)
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
====== KDE PIM Enterprise release howto =====

David Faure <[email protected]>, 02-Aug-2005, last update 12-Mar-2007.

# First ensure that translations are uptodate, running "translate".
# Packing tdepim doesn't pack the translations themselves, but still,
# at release time we have to ensure they are ok.

#

cd kde-common/release
mkdir clean cache dirty sources sources-old

echo tdepim > modules

# Now save the patch below to a file, and apply it.

Index: common
===================================================================
--- common      (revision 615014)
+++ common      (working copy)
@@ -23,6 +23,9 @@ case $package in
   koffice-l10n)
     version=1.3.98
     ;;
+  tdepim)
+    version=3.5.6.enterprise.0.20070227.637543
+    ;;
   *)
     version=3.5.5
     ;;

Index: versions
===================================================================
--- versions    (revision 615014)
+++ versions    (working copy)
@@ -20,6 +20,12 @@
     DESTURL=tags/koffice/1.4.0/$1
     subname=$1
     ;;
+  tdepim)
+    HEADURL=branches/tdepim/enterprise/$1
+    DESTURL=tags/tdepim/enterprise.0.20070227.637543/$1
+    subname=$1
+    export UNSERMAKE=
+    ;;
   *)
     HEADURL=branches/KDE/3.5/$1
     DESTURL=tags/KDE/3.5.5/$1


### --- end of patch ---


# Update the version number in "common" and the tagname in "versions"
# The version number is: 0.YYYYMMDD.svnrevision


#
# Also update the version number in those files:
# ./kmail/kmversion.h:#define KMAIL_VERSION "1.9.6 (enterprise 0.20070227.637543)"
# ./kontact/src/main.cpp:static const char version[] = "1.2.4 (enterprise 0.20070227.637543)";
# ./korganizer/version.h:static const char korgVersion[] = "3.5.6 (enterprise 0.20070227.637543)";


./tag_all
# tag_all checks out the enterprise branch of tdepim into a temporary tagging directory
# and then allows to commit - to create the tag.
# The script needs the variables SVNUSER and SVNPROTOCOL to be set.


# If you used the "cache" feature with an older release, remove it first
rm -rf cache/tdepim

# Ready? OK, let's pack it:
./pack tdepim

# On failure it's always possible to restart from where it stopped, e.g. with
# cd dirty ; ../dist tdepim  
# if the "dist" step failed
# (and then ../taritup tdepim  for the last step)
# But if all goes well, "pack" will have done it all.

# You can find the resulting tar.bz2 in sources/, scp it somewhere.

# To make sure that snapshots display a useful version number,
# change them after release to reflect development status in the branch.
# ./kmail/kmversion.h:#define KMAIL_VERSION "1.9.6 (enterprise branch after 0.20070227.637543)"
# ./kontact/src/main.cpp:static const char version[] = "1.2.4 (enterprise branch after 0.20070227.637543)";
# ./korganizer/version.h:static const char korgVersion[] = "3.5.6 (enterprise branch after 0.20070227.637543)";