bootstrap.ci: flexibilize option -R
When -R is given, accept indication of -rc resp. ~rc version strings in git describe's output.
This commit is contained in:
parent
a6b596d09a
commit
e4cab31763
@ -39,7 +39,7 @@ do
|
||||
REVISION=$OPTARG
|
||||
;;
|
||||
R)
|
||||
REVISION=`git describe | perl -ne 'print $1 if /^[\.0-9]*-([0-9]*)-g[a-z0-9]*$/;'`
|
||||
REVISION=`git describe | perl -ne 'print $1 if /^[\.0-9]*([-~]rc[0-9]+)?-([0-9]*)-g[a-z0-9]*$/;'`
|
||||
;;
|
||||
?)
|
||||
usage
|
||||
|
Loading…
Reference in New Issue
Block a user