hutool/bin/push_master.sh

17 lines
404 B
Bash
Raw Normal View History

2019-08-14 10:02:32 +08:00
#!/bin/bash
2019-10-10 10:59:04 +08:00
echo -e "\033[32mCheckout to v5-master\033[0m"
git checkout v5-master
2019-08-14 10:02:32 +08:00
2019-10-10 10:59:04 +08:00
echo -e "\033[32mMerge v5-dev branch\033[0m"
git merge v5-dev -m 'Prepare release'
2019-08-14 10:02:32 +08:00
2024-12-19 21:29:34 +08:00
echo -e "\033[32mPush to Github(origin) v5-master\033[0m"
2019-10-10 10:59:04 +08:00
git push origin v5-master
2024-12-19 21:29:34 +08:00
echo -e "\033[32mPush to Gitee v5-master\033[0m"
2019-10-10 10:59:04 +08:00
git push osc v5-master
2024-12-19 21:29:34 +08:00
echo -e "\033[32mPush to Gitcode v5-master\033[0m"
git push gitcode v5-master