forked from codeigniter4/CodeIgniter4
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrelease-deploy
More file actions
executable file
·39 lines (29 loc) · 1.02 KB
/
Copy pathrelease-deploy
File metadata and controls
executable file
·39 lines (29 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/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
echo -e "${BOLD}Merge develop into master${NORMAL}"
git checkout master
git merge develop
git push origin master
git push ${CI_ORG}/CodeIgniter4 master
echo -e "${BOLD}Pushing to the user guide repository${NORMAL}"
cd ${CI_DIR}/dist/userguide
git push origin master
echo -e "${BOLD}Pushing to the framework repository${NORMAL}"
cd ${CI_DIR}/dist/framework
git push origin master
echo -e "${BOLD}Pushing to the app starter repository${NORMAL}"
cd ${CI_DIR}/dist/appstarter
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!"