"Fossies" - the Fresh Open Source Software Archive

Member "cheetah3-3.2.6.post2/devscripts/prerelease-tag" (20 Apr 2021, 306 Bytes) of package /linux/www/cheetah3-3.2.6.post2.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "prerelease-tag": 3-3.2.4_vs_3-3.2.5.

    1 #! /bin/sh
    2 
    3 if [ -z "$1" -o -n "$2" ]; then
    4    echo "Usage: $0 new_tag" >&2
    5    exit 1
    6 else
    7    tag="$1"
    8 fi
    9 
   10 . `dirname $0`/split_tag.sh &&
   11 split_tag $tag
   12 
   13 if [ $micro -eq 0 -o $state != final ]; then
   14    git checkout master
   15 else
   16    git checkout maint
   17 fi &&
   18 
   19 exec git tag --message="Release $tag" --sign $tag