|
|
@ -4,13 +4,13 @@ |
|
|
|
# Configuration |
|
|
|
# Configuration |
|
|
|
|
|
|
|
|
|
|
|
# The ChibiOS branches to mirror |
|
|
|
# The ChibiOS branches to mirror |
|
|
|
chibios_branches="trunk stable_20.3.x stable_21.6.x" |
|
|
|
chibios_branches="trunk stable_20.3.x stable_21.11.x" |
|
|
|
|
|
|
|
|
|
|
|
# The ChibiOS tags to mirror |
|
|
|
# The ChibiOS tags to mirror |
|
|
|
chibios_tags="ver20.3.1 ver20.3.2 ver20.3.3 ver20.3.4 ver21.6.0" |
|
|
|
chibios_tags="ver20.3.1 ver20.3.2 ver20.3.3 ver20.3.4 ver21.11.1" |
|
|
|
|
|
|
|
|
|
|
|
# The ChibiOS-Contrib branches to mirror |
|
|
|
# The ChibiOS-Contrib branches to mirror |
|
|
|
contrib_branches="chibios-20.3.x chibios-21.6.x" |
|
|
|
contrib_branches="chibios-20.3.x chibios-21.11.x" |
|
|
|
|
|
|
|
|
|
|
|
################################ |
|
|
|
################################ |
|
|
|
# Actions |
|
|
|
# Actions |
|
|
@ -88,5 +88,5 @@ echo "Updating ChibiOS-Contrib branches..." |
|
|
|
for branch in $contrib_branches ; do |
|
|
|
for branch in $contrib_branches ; do |
|
|
|
echo "Creating branch 'mirror/$branch' from 'upstream/$branch'..." |
|
|
|
echo "Creating branch 'mirror/$branch' from 'upstream/$branch'..." |
|
|
|
git branch -f mirror/$branch upstream/$branch \ |
|
|
|
git branch -f mirror/$branch upstream/$branch \ |
|
|
|
&& git push qmk mirror/$branch |
|
|
|
&& git push qmk mirror/$branch || true # Allow for nonexistent ChibiOS-Contrib branches -- they'll turn up eventually. |
|
|
|
done |
|
|
|
done |
|
|
|