summaryrefslogtreecommitdiffstats
path: root/build-release
blob: 9a51c5fab6eafde5e8c056013dadfb9dc33c0fc7 (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
#!/bin/sh --

#
# Build a mutt release.
#
# This used to be part of the main Makefile, but is better handled
# by a shell script.
#
# Note that this script won't work for you.  I'm including it with 
# the distribution for the sake of completeness.
#
# Thomas Roessler <roessler@does-not-exist.org> Mon,  8 Nov 1999 22:32:41 +0100
#


echo "Automatic release building is disabled"
exit 1

#
# I don't have it automated, but this is my basic release process:
# -Kevin McCarthy
#

# Preparation:
./prepare  [flags]
make
./check_sec.sh

Edit UPDATING file.
Commit change so release date (generated from ChangeLog file) is today.

Edit VERSION file.
make update-changelog
if releasing from master
then
   (cd po && make update-po)
fi

# Tag and commit:
# Note: major releases have version 1.14.0 but tag mutt-1-14-rel
OTAG=mutt-1-14-1-rel
TAG=mutt-1-14-2-rel
OVERSION=1.14.1
VERSION=1.14.2

git commit -a -m "automatic post-release commit for mutt-$VERSION"
git tag -s $TAG -m "mutt-$VERSION signed"
switch to other branch and merge
push to gitlab and srht
push tags to gitlab and srht

# Build the release tarball and diff:
autoreconf --install --force
make update-doc
make distcheck

git diff $OTAG..$TAG | gzip -9 > diff-$OVERSION-$VERSION.gz
gpg -ba mutt-$VERSION.tar.gz; chmod 644 mutt-$VERSION.tar.gz.asc
gpg -ba diff-$OVERSION-$VERSION.gz; chmod 644 diff-$OVERSION-$VERSION.gz.asc

# - - - end - - -