File tree 1 file changed +7
-5
lines changed 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -132,19 +132,21 @@ echo "Please specify the release version number (e.g., 14.8.8)"
132
132
read version
133
133
if [ ! -z " $version " ]; then
134
134
name=" pH7Builder"
135
- git clone git@github.com:pH7Software/ pH7-Social-Dating-CMS.git --depth=1
135
+ tmp_project_folder= " pH7-Social-Dating-CMS"
136
136
137
- echo " Moving to 'pH7-Social-Dating-CMS/' folder."
138
- cd pH7-Social-Dating-CMS
137
+ git clone git@github.com:pH7Software/pH7-Social-Dating-CMS.git $tmp_project_folder --depth=1
138
+
139
+ echo " Moving to '${tmp_project_folder} /' folder."
140
+ cd $tmp_project_folder
139
141
140
142
run-packaging-cleanup
141
143
zip -qr ../${name} -${version} .zip .
142
144
143
145
echo " Moving back to previous main folder '../'"
144
146
cd ..
145
147
146
- echo " Removing unnecessary 'pH7-Social-Dating-CMS /' folder."
147
- rm -rf pH7-Social-Dating-CMS
148
+ echo " Removing unnecessary '${tmp_project_folder} /' folder."
149
+ rm -rf $tmp_project_folder
148
150
149
151
echo " Done! pH7Builder has been successfully packaged. Ready to be distributed!"
150
152
echo " The zip file is available here: ${PWD} /${name} -${version} .zip"
You can’t perform that action at this time.
0 commit comments