X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=tools%2Frelease%2Fversion.sh;h=d6c9434b3f2b0557b6264b083f08704f25b228d4;hb=33281a87b66576057c14200e034e8e7e0a7e2d85;hp=bef79d0e29eb94abf4aa88628e0fd7c9df337da9;hpb=07c85e41a47b418d7c6647041542764861105231;p=openocd.git diff --git a/tools/release/version.sh b/tools/release/version.sh index bef79d0e29..d6c9434b3f 100755 --- a/tools/release/version.sh +++ b/tools/release/version.sh @@ -1,9 +1,20 @@ -#!/bin/sh -e +#!/bin/bash # version.sh: openocd version process automation # Copyright (C) 2009 by Zachary T Welch # Release under the GNU GPL v2 (or later versions). -source "tools/release/helpers.sh" +# FIXME Remove more bash-isms. Fix errors making "ash -e" lose. + +# NOTE Use with care! "RC" should only follow x.x.x, with +# vendor tags after that. Be traditional; avoid "rc0". + +# NOTE: This *ONLY* updates the "configure.ac" version tag. +# It does not affect GIT tags. Use this script immediately +# before making a release, to remove the "-dev" tag and to +# update the version label. Then commit the change and tag +# that commit to match the version label. + +. "tools/release/helpers.sh" do_version_usage() { cat << USAGE @@ -15,6 +26,7 @@ Version Commands: bump tag