fix gitspread

This commit is contained in:
Samuele E. Locatelli
2021-03-03 10:55:10 +01:00
parent 982269d7f2
commit 2e7c455772
+2 -8
View File
@@ -10,24 +10,18 @@ ECHO off
set baseBranch=%1
set pushRemote=%2
git push . %baseBranch%:beta
git push . %baseBranch%:develop
git push gitlab.steamware %baseBranch%:%baseBranch%
REM Faccio push remoto condizionale
@REM if %pushRemote% GTR 0 ( git push . %baseBranch%:ES3 )
@REM if %pushRemote% GTR 0 ( git push . %baseBranch%:Giancarlo )
@REM if %pushRemote% GTR 0 ( git push . %baseBranch%:MongoDb )
if %pushRemote% GTR 0 ( git push gitlab.steamware %baseBranch%:beta )
if %pushRemote% GTR 0 ( git push . %baseBranch%:beta )
if %pushRemote% GTR 0 ( git push gitlab.steamware %baseBranch%:develop )
if %pushRemote% GTR 1 ( git push . %baseBranch%:ADM )
if %pushRemote% GTR 1 ( git push . %baseBranch%:MAG )
if %pushRemote% GTR 1 ( git push . %baseBranch%:TAB )
if %pushRemote% GTR 1 ( git push . %baseBranch%:SDK )
@REM if %pushRemote% GTR 1 ( git push gitlab.steamware %baseBranch%:ES3 )
@REM if %pushRemote% GTR 1 ( git push gitlab.steamware %baseBranch%:Giancarlo )
@REM if %pushRemote% GTR 1 ( git push gitlab.steamware %baseBranch%:MongoDb )
if %pushRemote% GTR 1 ( git push gitlab.steamware %baseBranch%:beta )
if %pushRemote% GTR 2 ( git push . %baseBranch%:master )
if %pushRemote% GTR 2 ( git push . %baseBranch%:stable )