Compare commits

..

No commits in common. "adc1c530e2f7b48d6c73c2d5f4bbb7940ea30832" and "905ebb3719f1b94efb3a24f073e4840713c1846d" have entirely different histories.

2 changed files with 16 additions and 10 deletions

View File

@ -8,7 +8,6 @@ showHelp() {
echo "command :"
echo " list List packages infos"
echo " infos pkgname Display package infos"
echo " create pkgname modelname Display package infos"
echo " build pkgname Build and publish package"
echo " bump pkgname Bump release and publish package"
echo " checkupdate pkgname Check package update"

View File

@ -16,6 +16,13 @@ if [ "${VERSION}" == "" ]; then
exit 1
fi
ssh -T git@github.com
if [ ! "${?}" = "1" ]; then
echo "No Github ssh key loaded exiting..."
exit 1
fi
CURRENTBRANCH=$(git rev-parse --abbrev-ref HEAD)
if [ ! "${CURRENTBRANCH}" == "dev" ]; then