
IF  "%1"=="" (	
	GOTO HELL
) ELSE (
	SET _TAG_=v%1
)

IF  NOT "%2"=="" (	
	SET _TAG_=%_TAG_%.%2
)

rem git remote set-url origin https://%3:%4@github.com/wasteam/waslibs.git
git tag -a %_TAG_% -m "Version built: %_TAG_%"
git push origin %_TAG_%

GOTO END

:HELL
ECHO VERSION NOT FOUND
EXIT -1

:END
ECHO PROCESS FINISHED
EXIT 0

IF  "%1"=="" (	
	GOTO HELL
) ELSE (
	SET _TAG_=v%1
)

IF  NOT "%2"=="" (	
	SET _TAG_=%_TAG_%.%2
)

git config user.email "%3@outlook.com"
git config user.name "%3"
git remote set-url origin https://%3:%4@github.com/wasteam/waslibs.git
git tag -a %_TAG_% -m "Version built: %_TAG_%"
git push origin %_TAG_%

GOTO END

:HELL
ECHO VERSION NOT FOUND
EXIT -1

:END
ECHO PROCESS FINISHED
EXIT 0
Add user identity to git in tagging
Add user identity to git in tagging
