Created
January 3, 2020 18:01
-
-
Save mikhailnov/b85f62d8f394af65d9cd55ed20a2605d to your computer and use it in GitHub Desktop.
merge.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -xefu | |
# New packages | |
for i in \ | |
createrepo_c \ | |
dnf \ | |
dnf-plugins-core \ | |
dnf-plugins-extras \ | |
dnf-URPM \ | |
drpm \ | |
libcomps \ | |
libdnf \ | |
libmodulemd \ | |
librepo \ | |
libsolv \ | |
mock \ | |
modulemd1 \ | |
rosa-repos \ | |
rpm-openmandriva-setup | |
do | |
cd ~/dev | |
git clone git@abf.io:import/${i}.git | |
pushd $i | |
git remote add rpm4 git@abf.io:rpm4/${i}.git | |
git pull rpm4 rosa2019.1 | |
git push | |
git checkout -b rosa2019.1 | |
git push --set-upstream origin rosa2019.1 | |
popd | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment