From 2e7c4557722e9df26f776855d2c67a59c87e97f6 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Wed, 3 Mar 2021 10:55:10 +0100 Subject: [PATCH] fix gitspread --- gitSpread.bat | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/gitSpread.bat b/gitSpread.bat index d571a63f..7752fcca 100644 --- a/gitSpread.bat +++ b/gitSpread.bat @@ -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 )