blob: 1f321e0f5f294824c4343c5fae543275f505ab62 (
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
|
#!/bin/sh -e
SRC="$1"
if [ "${SRC}" ]; then
shift
else
SRC="${0%%/*}"
fi
if [ ! -d "${SRC}/.git" ]; then
echo "'${SRC}' is not a git repository"
exit 1
fi
DST="$1"
[ "${DST}" ] || DST="release-${SRC}"
export RELEASE_FAST=yes
cat <<EOF
Starting test release clone process:
from: '${SRC}'
to: '${DST}'
This will destroy any contents in '${DST}'.
EOF
echo -n "Press Control-C to abort in "
for i in $(seq 5 -1 1); do echo -n "$i "; sleep 1; done
echo "go!"
rm -rf "${DST}"
git clone "${SRC}" "${DST}"
cd "${DST}"
# TAG+RELEASE NEW BRANCH (w/ -dev)
# 0.3.0 0.4.0-rc0
tools/release.sh release --next='minor' --start-rc
git checkout -q "v0.3.0"
# <none> 0.3.1
tools/release.sh branch --next='micro'
# 0.3.1 0.3.2
tools/release.sh release --next='micro'
git checkout "v0.4.0-rc0-dev"
# 0.4.0-rc0 0.4.0-rc1
tools/release.sh release --next='rc'
# 0.4.0 1.0.0-rc0
tools/release.sh release --next='major' --final --start-rc
git checkout -q "v0.4.0"
# <none> 0.4.1
tools/release.sh branch --next='micro'
# 0.4.1 0.4.2
tools/release.sh release --next='micro'
git checkout "v1.0.0-rc0-dev"
# 1.0.0-rc0 1.0.0-rc1
tools/release.sh release --next='rc'
# 1.0.0 1.1.0-rc0
tools/release.sh release --next='minor' --final --start-rc
git checkout -q "v1.0.0"
# <none> 1.0.1
tools/release.sh branch --next='micro'
# 1.0.1 1.0.2
tools/release.sh release --next='micro'
git checkout "v1.1.0-rc0-dev"
# 1.1.0-rc0 1.1.0-rc1
tools/release.sh release --next='rc'
# 1.1.0 1.2.0
tools/release.sh release --next='minor' --final --start-rc
git checkout -q "v1.0.0"
tools/release.sh branch --next='major' --start-rc
# <none> 2.0.0-rc0
git checkout "v2.0.0-rc0-dev"
# 2.0.0-rc0 2.0.0-rc1
tools/release.sh release --next='rc'
# 2.0.0-rc1 2.0.0-rc2
tools/release.sh release --next='rc'
# 2.0.0 2.1.0-rc0
tools/release.sh release --next='minor' --final --start-rc
git checkout -q "v1.1.0"
# <none> 1.1.1
tools/release.sh branch --next='micro'
# 1.1.1 1.1.2
tools/release.sh release --next='micro'
git checkout -q "v2.0.0"
# <none> 2.0.0
tools/release.sh branch --next='micro'
# 2.0.1 2.0.2
tools/release.sh release --next='micro'
git checkout "v1.2.0-rc0-dev"
# 1.2.0-rc0 1.2.0-rc1
tools/release.sh release --next='rc'
# 1.2.0 1.3.0-rc0
tools/release.sh release --next='micro' --final
git checkout "v2.1.0-rc0-dev"
# 2.1.0-rc0 2.1.0-rc1
tools/release.sh release --next='rc'
# 2.1.0-rc1 2.1.0-rc2
tools/release.sh release --next='rc'
# 2.1.0 2.2.0-rc0
tools/release.sh release --next='minor' --final --start-rc
git checkout -q "v2.1.0"
# <none> 2.1.1
tools/release.sh branch --next='micro'
# 2.1.1 2.1.2
tools/release.sh release --next='micro'
git checkout "v2.2.0-rc0-dev"
# 2.2.0-rc0 2.2.0-rc1
tools/release.sh release --next='rc'
gitk --all
|