Browse Source

Ne pas continuer sur le répertoire n'est pas un projet git

* On ne peut tagguer que si on cible un dépot git
master
cam.lafit 1 year ago
parent
commit
d6d801c4ef
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      set_tags_from_paquet.sh

+ 2
- 0
set_tags_from_paquet.sh View File

@@ -12,10 +12,12 @@ repo_dir="$1"

if [ ! -d "$repo_dir" ];then
echo "$repo_dir is not a directory"
exit 1
fi

if [ ! -d "$repo_dir/.git" ];then
echo "$repo_dir is not a git workspace"
exit 1
fi

branch="master"


Loading…
Cancel
Save