[d/rpn] handle VERSION=develop
Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
This commit is contained in:
parent
ae3ab82b57
commit
116b8d2628
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@ cp -R $REPOSITORY $TMP/$PRGNAM-$VERSION
|
|||
cd $TMP/$PRGNAM-$VERSION
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git for-each-ref --sort=taggerdate --format '%(tag)' | tail -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xdevelop" ] && git checkout develop && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
sed -i 's|git@github.com:|https://github.com/|g' $(grep -l git@ .*)
|
||||
|
|
Loading…
Reference in a new issue