modifs.mineures sans commentaires
This commit is contained in:
parent
09a82b45ea
commit
71ba18e0f0
8
wip/_rel
8
wip/_rel
@ -3,13 +3,15 @@
|
|||||||
source "$(dirname -- "$0")/../load.sh" || exit 1
|
source "$(dirname -- "$0")/../load.sh" || exit 1
|
||||||
require: git
|
require: git
|
||||||
|
|
||||||
|
UPSTREAM=
|
||||||
DEVELOP=develop
|
DEVELOP=develop
|
||||||
FEATURE=wip/
|
FEATURE=wip/
|
||||||
RELEASE=release-
|
RELEASE=release-
|
||||||
MAIN=master
|
MAIN=master
|
||||||
|
TAG_SUFFIX=
|
||||||
HOTFIX=hotfix-
|
HOTFIX=hotfix-
|
||||||
DIST=
|
DIST=
|
||||||
source "$MYDIR/${MYNAME%.sh}.conf"
|
source "$MYDIR/pman${MYNAME#_rel}.conf"
|
||||||
|
|
||||||
function init_action() {
|
function init_action() {
|
||||||
:
|
:
|
||||||
@ -33,8 +35,9 @@ args=(
|
|||||||
-o:,--remote Remote= "++spécifier le remote vers lequel pousser les branches"
|
-o:,--remote Remote= "++spécifier le remote vers lequel pousser les branches"
|
||||||
--init action=init "++initialiser les branches $DEVELOP et $MAIN"
|
--init action=init "++initialiser les branches $DEVELOP et $MAIN"
|
||||||
--list action=list "lister les modifications qui seraient intégrées dans la release"
|
--list action=list "lister les modifications qui seraient intégrées dans la release"
|
||||||
-r,--release action=release "faire la release"
|
-g,--release action=release "faire la release"
|
||||||
-v:,--version Version= "spécifier la version de la release"
|
-v:,--version Version= "spécifier la version de la release"
|
||||||
|
-m,--merge Merge=1 "merger la branche de release après l'avoir créée"
|
||||||
)
|
)
|
||||||
parse_args "$@"; set -- "${args[@]}"
|
parse_args "$@"; set -- "${args[@]}"
|
||||||
|
|
||||||
@ -45,6 +48,7 @@ fi
|
|||||||
git_check_gitvcs || die "$(ppath "$(pwd)" ~): ce répertoire n'est pas un dépôt git"
|
git_check_gitvcs || die "$(ppath "$(pwd)" ~): ce répertoire n'est pas un dépôt git"
|
||||||
setx branch=git_get_branch
|
setx branch=git_get_branch
|
||||||
case "$branch" in
|
case "$branch" in
|
||||||
|
"$UPSTREAM") current=upstream;;
|
||||||
"$DEVELOP") current=develop;;
|
"$DEVELOP") current=develop;;
|
||||||
"$FEATURE"*) current=feature;;
|
"$FEATURE"*) current=feature;;
|
||||||
"$RELEASE"*) current=release;;
|
"$RELEASE"*) current=release;;
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||||
|
|
||||||
|
# branche upload
|
||||||
|
UPSTREAM=
|
||||||
# branches de développement
|
# branches de développement
|
||||||
DEVELOP=develop
|
DEVELOP=develop
|
||||||
FEATURE=wip/
|
FEATURE=wip/
|
||||||
@ -7,6 +9,7 @@ FEATURE=wip/
|
|||||||
RELEASE=release-
|
RELEASE=release-
|
||||||
# branche de release
|
# branche de release
|
||||||
MAIN=master
|
MAIN=master
|
||||||
|
TAG_SUFFIX=
|
||||||
# branche de hotfix
|
# branche de hotfix
|
||||||
HOTFIX=hotfix-
|
HOTFIX=hotfix-
|
||||||
# branche de distribution
|
# branche de distribution
|
@ -1,8 +1,10 @@
|
|||||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||||
|
|
||||||
|
UPSTREAM=
|
||||||
DEVELOP=dev74
|
DEVELOP=dev74
|
||||||
FEATURE=wip74/
|
FEATURE=wip74/
|
||||||
RELEASE=rel74-
|
RELEASE=rel74-
|
||||||
MAIN=dist74
|
MAIN=dist74
|
||||||
|
TAG_SUFFIX=p74
|
||||||
HOTFIX=hotf74-
|
HOTFIX=hotf74-
|
||||||
DIST=
|
DIST=
|
@ -1,8 +1,10 @@
|
|||||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||||
|
|
||||||
|
UPSTREAM=
|
||||||
DEVELOP=dev82
|
DEVELOP=dev82
|
||||||
FEATURE=wip82/
|
FEATURE=wip82/
|
||||||
RELEASE=rel82-
|
RELEASE=rel82-
|
||||||
MAIN=dist82
|
MAIN=dist82
|
||||||
|
TAG_SUFFIX=p82
|
||||||
HOTFIX=hotf82-
|
HOTFIX=hotf82-
|
||||||
DIST=
|
DIST=
|
Loading…
Reference in New Issue
Block a user