-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmerge.bat
More file actions
30 lines (27 loc) · 767 Bytes
/
merge.bat
File metadata and controls
30 lines (27 loc) · 767 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
git config --global user.email "greatmsio@yahoo.es"
git config --global user.name "GeMe"
REM git commit -a -m "increase version"
REM @echo off
REM ECHO SOURCE BRANCH IS %BUILD_SOURCEBRANCH%
REM IF %BUILD_SOURCEBRANCH% == refs/heads/master (
REM ECHO Building master branch so no merge is needed.
REM EXIT
REM )
SET sourceBranch=origin/%BUILD_SOURCEBRANCH:refs/heads/=%
ECHO GIT CHECKOUT MASTER
git checkout master
REM ECHO GIT STATUS
REM git status
REM ECHO GIT ADD FILES
REM git add .
REM git commit -m "increase version [ci skip]"
REM ECHO GIT MERGE
REM git merge %sourceBranch% -m "increase version [ci skip]"
REM ECHO GIT STATUS
REM git status
REM ECHO GIT PUSH
REM git push origin
REM ECHO GIT PUSH
REM git push origin
REM ECHO GIT STATUS
REM git status