forked from javilonas/pli-extras
-
Notifications
You must be signed in to change notification settings - Fork 0
/
submodule.sh
executable file
·67 lines (67 loc) · 1.02 KB
/
submodule.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#!/bin/sh
echo ""
echo "This is only for MastaG, Persian Prince and Hains with push access"
echo ""
echo "Stage 1: git pull for new changes"
echo ""
cd meta-amlogic
git checkout develop
git pull
cd ..
cd meta-azbox
git checkout develop
git pull
cd ..
cd meta-ceryon
git checkout develop
git pull
cd ..
cd meta-dags
git checkout develop
git pull
cd ..
cd meta-dinobot
git checkout develop
git pull
cd ..
cd meta-dream
git checkout develop
git pull
cd ..
cd meta-entwopia
git checkout develop
git pull
cd ..
cd meta-fulan
git checkout develop
git pull
cd ..
cd meta-ini
git checkout develop
git pull
cd ..
cd meta-octagon
git checkout develop
git pull
cd ..
cd meta-odin
git checkout develop
git pull
cd ..
cd meta-raspberrypi
git checkout develop
git pull
cd ..
cd meta-xcore
git checkout develop
git pull
cd ..
echo "Stage 2: git add for new changes"
echo ""
git add *
git commit -S -m "Update submodules"
echo "Stage 3: git push for new changes"
echo ""
git push
echo "Done: all git repositories get updated to their latest versions!"
echo ""