CodeIgniter4/admin/release-deploy

32 lines
810 B
Plaintext
Raw Permalink Normal View History

2018-11-28 08:40:38 -08:00
#!/bin/bash
## Push local changes to github
echo -e "${BOLD}${COLOR}CodeIgniter4 release deployment${NORMAL}"
echo '-------------------------------'
. admin/release-config
echo -e "${BOLD}Merge release into develop${NORMAL}"
git checkout develop
git merge $branch
git push origin develop
git push ${CI_ORG}/CodeIgniter4 develop
2019-05-06 11:18:18 -07:00
echo -e "${BOLD}Merge develop into master${NORMAL}"
git checkout master
git merge develop
git push origin master
git push ${CI_ORG}/CodeIgniter4 master
2018-11-28 08:40:38 -08:00
echo -e "${BOLD}Pushing to the user guide repository${NORMAL}"
cd ${CI_DIR}/dist/userguide
git push origin master
cd ${CI_DIR}
#---------------------------------------------------
# Phew!
echo -e "${BOLD}Congratulations - we have liftoff${NORMAL}"
echo "Don't forget to announce this release on the forum and on twitter!"