Debian Codegraph @

devscripts/prerelease-tag

raw symbols SCIP
1 #! /bin/shscip-shell filesystem . . `/bin/sh`.
2
3 if [scip-shell system . . `[`. -z "$1" -o -n "$2" ]; then
4 echoscip-shell system . . echo. "Usage: $0 new_tag" >&2
5 exit 1
6 else
7 tag="$1"
8 fi
9
10 . `dirnamescip-shell system . . dirname. $0`/split_tag.sh &&
11 split_tag $tag
12
13 if [scip-shell system . . `[`. $micro -eq 0 -o \( $state != final -a $state != post \) ]; then
14 gitscip-shell system . . git. checkout master
15 else
16 gitscip-shell system . . git. checkout maint
17 fi &&
18
19 exec git tag --message="Release $tag" --sign $tag