hutool/bin/push_master.sh

28 lines
895 B
Bash
Raw Normal View History

2019-08-14 10:02:32 +08:00
#!/bin/bash
2023-03-27 03:28:19 +08:00
#
# Copyright (c) 2023 looly(loolly@aliyun.com)
# Hutool is licensed under Mulan PSL v2.
# You can use this software according to the terms and conditions of the Mulan PSL v2.
# You may obtain a copy of Mulan PSL v2 at:
2023-08-15 11:02:35 +08:00
# https://license.coscl.org.cn/MulanPSL2
2023-03-27 03:28:19 +08:00
# THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
# EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
# MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
# See the Mulan PSL v2 for more details.
#
2023-08-15 11:00:30 +08:00
# show Hutool logo
"$(dirname ${BASH_SOURCE[0]})"/logo.sh
2022-04-27 23:51:14 +08:00
echo -e "\033[32mCheckout to v6-master\033[0m"
git checkout v6-master
2019-08-14 10:02:32 +08:00
2022-04-27 23:51:14 +08:00
echo -e "\033[32mMerge v6-dev branch\033[0m"
git merge v6-dev -m 'Prepare release'
2019-08-14 10:02:32 +08:00
2022-04-27 23:51:14 +08:00
echo -e "\033[32mPush to origin v6-master\033[0m"
git push origin v6-master
echo -e "\033[32mPush to osc v6-master\033[0m"
git push osc v6-master