File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -9,19 +9,26 @@ function download() {
99 LATEST_VERSION=$( echo $LATEST_RELEASE | sed -e ' s/.*"tag_name":"\([^"]*\)".*/\1/' )
1010 TARBALL_URL=" $ARTIFACTS_URL /$LATEST_VERSION "
1111
12- echo " Downloading tag: $LATEST_VERSION \n"
12+ echo -e " Downloading tag: $LATEST_VERSION \n"
1313 curl -L $TARBALL_URL -o $TMPFILE
1414}
1515
1616function unpack() {
17- echo " Unpacking to local folder... \n"
18- tar -xvf $TMPFILE --strip 1
17+ echo -e " Unpacking to local folder... \n"
18+ tar -xf $TMPFILE --strip 1
19+ }
20+
21+ function prepDotEnv() {
22+ echo -e " Preparing env file... \n"
23+ cp .docker.env.dist .docker.env
1924}
2025
2126function cleanup() {
27+ echo -e " Cleaning up... \n"
2228 rm -rf $TMPFILE
2329}
2430
2531download
2632unpack
33+ prepDotEnv
2734cleanup
You can’t perform that action at this time.
0 commit comments