-
Notifications
You must be signed in to change notification settings - Fork 4
/
mergeToMain.sh
executable file
·49 lines (47 loc) · 1.81 KB
/
mergeToMain.sh
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#!/bin/bash
echo -n "Git push on branch develop "
echo ""
git add .
git commit -m " 💠 Add content to => single Example and more "
git push -u origin develop
echo "====================================================================="
echo -n "git checkout beforeMergeToMain "
echo ""
git checkout beforeMergeToMain
echo "====================================================================="
echo -n "git merge develop "
echo ""
git merge develop
echo "====================================================================="
echo -n "Git is Push for beforeMergeToMain "
echo ""
git add .
git commit -m " 💠 Add content to => single Example and more "
git push -u origin beforeMergeToMain
echo "====================================================================="
echo -n "git checkout main "
echo ""
git checkout main
echo "====================================================================="
echo -n "git merge beforeMergeToMain "
echo ""
git merge beforeMergeToMain
echo "🐹🦫🐹🦫🐹🦫🐹🦫🐹🦫🐹🦫🐹🦫🐹🦫🐹🦫🐹🦫🐹🦫🐹🦫🐹🦫🐹🦫🐹🦫🐹🦫🐹🦫"
go build -o build/Ubuntu/ .
echo -n "Go Build "
echo ""
echo "🐹🦫🐹🦫🐹🦫🐹🦫🐹🦫🐹🦫🐹🦫🐹🦫🐹🦫🐹🦫🐹🦫🐹🦫🐹🦫🐹🦫🐹🦫🐹🦫🐹🦫"
GOOS=windows GOARCH=amd64 go build -o build/Windows/ .
echo -n "Go Build For windows"
echo ""
echo "====================================================================="
echo -n "Git is Push for main "
echo ""
git add .
git commit -m " 💠 Add content to => single Example and more "
git push -u origin main
echo "====================================================================="
echo -n "git checkout develop "
echo ""
git checkout develop
echo "====================================================================="