Lines Matching +full:2 +full:- +full:point

3 # showusage is set to 1 on any command-line syntax error
7 # test is set to 1 if -t/--test is given to prevent modifications
13 2) repo=$2
15 -t|--test)
39 1) echo "Usage: $0 [-t] <stable|dev>"
40 echo "No changes are made to packageinfo.sh if -t is given."
46 set -e
71 0|2|4|6|8)
88 # Do we want to bump the point?
90 # Do we want to bump the beta point?
92 # Do we want to change the RC point? (n=no, z=empty rcpoint and zero
99 # if we are not in a beta or RC state, enter beta unless point is NEW.
101 # - bump the beta point
103 # - if rcpoint is GO:
104 # - - set rcpoint= (empty)
105 # - - set prerelease= (empty)
106 # - - set betapoint=0
107 # - else
108 # - - if rcpoint==(empty)
109 # - - - (bump-point) and set rcpoint to 0 (and fall thru, so -RC1 is first)
110 # - - bump the RC point
112 # for dev, we only want to bump-point and possibly clear prerelease,
117 case "$point" in
130 # echo "Checking <$betapoint::$rcpoint::$point>"
131 case "$betapoint::$rcpoint::$point" in
138 # start of first beta cycle for the next point release
145 # skip all -beta and -RC prereleases to the next point.
153 # echo "Good - betapoint is empty. Look in $0 and figure out what's going on here."
169 [1-9]*::*)
176 echo "first beta for the next point release."
203 [1-9]*)
229 case "$repo::$bp::$point" in
231 newpoint=$point
234 newpoint=`expr $point + 1`
236 *::1::[1-9]*)
237 newpoint=`expr $point + 1`
248 *) echo "Unexpected value for 'point' <$point>! (repo::bp::point is $repo::$bp::$point)"
257 1::[0-9]*)
272 i::[0-9]*)
285 echo "crcp::rcpoint - bogus repo <$repo>"
306 *) printf " -> $newpr\n"
309 printf "point $point"
311 $point)
314 *) printf " -> $newpoint\n"
322 *) printf " -> $newbetapoint\n"
330 *) printf " -> $newrcpoint\n"
339 sed -e "s/^point=.*/point=$newpoint/" \
340 -e "s/^betapoint=.*/betapoint=$newbetapoint/" \
341 -e "s/^rcpoint=.*/rcpoint=$newrcpoint/" \
342 -e "s/^prerelease=.*/prerelease=$newpr/" \
354 scripts/build/VersionName -p ./packageinfo.sh+