You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
import("core.base.option")
|
|
|
|
|
|
|
|
function main()
|
|
|
|
print("update xmake-repo ..")
|
|
|
|
os.exec("git clone git@github.com:xmake-io/xmake-repo.git -b dev --recurse-submodules")
|
|
|
|
os.cd("xmake-repo")
|
|
|
|
os.exec("git push git@gitlab.com:tboox/xmake-repo.git dev")
|
|
|
|
os.exec("git push git@gitee.com:tboox/xmake-repo.git dev")
|
|
|
|
os.exec("git push git@gitcode.com:xmake-io/xmake-repo.git dev")
|
|
|
|
os.exec("git checkout master")
|
|
|
|
os.exec("git merge dev")
|
|
|
|
os.exec("git push git@github.com:xmake-io/xmake-repo.git master")
|
|
|
|
os.exec("git push git@gitlab.com:tboox/xmake-repo.git master")
|
|
|
|
os.exec("git push git@gitee.com:tboox/xmake-repo.git master")
|
|
|
|
os.exec("git push git@gitcode.com:xmake-io/xmake-repo.git master")
|
|
|
|
end
|