24
0
Fork 0

Compare commits

...

2 Commits

1 changed files with 2 additions and 1 deletions

View File

@ -24,7 +24,8 @@ if [ "$#" -ne 0 ]; then
usage
else
lastVersion=$(curl -s https://framagit.org/api/v4/projects/$FRAMAGIT_PROJECT_ID/releases | jshon -a -e name|cut -d '"' -f2|grep -v '[\^\(alpha\)]'|head -n 1)
currentVersion=$(cd $LOCAL_REPO && git branch | grep '*'|cut -c 3-100 )
currentVersion=$(cd $LOCAL_REPO && git branch | grep '*'|cut -c 19-100 )
# la branche se nomme ainsi "chapril-working-1.0.2" donc pour comparer uniquement les numéros de version on enlève le début du nom
#echo "current version: $currentVersion"
#echo "last version: $lastVersion"