#!/bin/bash # version.sh: openocd version process automation # Copyright (C) 2009 by Zachary T Welch # Release under the GNU GPL v2 (or later versions). # 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 usage: $0 Version Commands: tag {add|remove}