Compare commits

..

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

2 changed files with 16 additions and 10 deletions

View File

@ -6,16 +6,15 @@ showHelp() {
echo "arch-pkg-builder [args] command [args]"
echo ""
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"
echo " checkupdateall Check all packages update"
echo " update pkgname Update package"
echo " updateall Update all packages"
echo " pushtoaur pkgname Push package to AUR"
echo " list List packages infos"
echo " infos pkgname Display package infos"
echo " build pkgname Build and publish package"
echo " bump pkgname Bump release and publish package"
echo " checkupdate pkgname Check package update"
echo " checkupdateall Check all packages update"
echo " update pkgname Update package"
echo " updateall Update all packages"
echo " pushtoaur pkgname Push package to AUR"
echo ""
echo "args :"
echo " --cnf configfile"

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