Skip to content

Commit acfcd7b

Browse files
committed
Display version numbers
1 parent 232898c commit acfcd7b

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

build-web.sh

+4-2
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,10 @@ vercomp() {
5757

5858
# Display update prompt
5959

60-
UPDATE_PROMPT="🎉🦋 A new version of Flutter For Web Build Script is availible!\nVisit https://github.com/FrankFlitton/Flutter-for-web-deploy-script to update."
61-
NO_UPDATE_PROMPT="👍 You are on the latest version of Flutter For Web Build Script. \n Beginning build now..."
60+
UPDATE_PROMPT="🎉🦋 A new version of Flutter For Web Build Script is availible!
61+
\nInstalled: $CURRENT_VERSION. Current: $REMOTE_VERSION.
62+
\nVisit https://github.com/FrankFlitton/Flutter-for-web-deploy-script to update.\n"
63+
NO_UPDATE_PROMPT="👍 You are on the latest version of Flutter For Web Build Script. \n Beginning build now...\n"
6264
vercomp $CURRENT_VERSION $REMOTE_VERSION && echo $NO_UPDATE_PROMPT || echo $UPDATE_PROMPT
6365

6466
# Begin to build the app for prod

example_app/build-web.sh

+4-2
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,10 @@ vercomp() {
5757

5858
# Display update prompt
5959

60-
UPDATE_PROMPT="🎉🦋 A new version of Flutter For Web Build Script is availible!\nVisit https://github.com/FrankFlitton/Flutter-for-web-deploy-script to update."
61-
NO_UPDATE_PROMPT="👍 You are on the latest version of Flutter For Web Build Script. \n Beginning build now..."
60+
UPDATE_PROMPT="🎉🦋 A new version of Flutter For Web Build Script is availible!
61+
\nInstalled: $CURRENT_VERSION. Current: $REMOTE_VERSION.
62+
\nVisit https://github.com/FrankFlitton/Flutter-for-web-deploy-script to update.\n"
63+
NO_UPDATE_PROMPT="👍 You are on the latest version of Flutter For Web Build Script. \n Beginning build now...\n"
6264
vercomp $CURRENT_VERSION $REMOTE_VERSION && echo $NO_UPDATE_PROMPT || echo $UPDATE_PROMPT
6365

6466
# Begin to build the app for prod

0 commit comments

Comments
 (0)