We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52cff67 commit d07ea35Copy full SHA for d07ea35
tool/publish.sh
@@ -28,14 +28,14 @@ function publish() {
28
29
echo -e "You're about to publish directory \e[33m'${1}'\e[39m as package \e[33m$(yq read "${pubspec}" name) v$(yq read "${pubspec}" version)\e[39m"
30
echo -e "\e[31mWARNING: The same version can NOT be published twice!\e[39m"
31
- read -p " Are you sure you want to publish to pub.dev? " yn
+ read -p " Publish to pub.dev [y/N]? " yn
32
case $yn in
33
[Yy]*)
34
cd "${pkg_dir}" || exit 1
35
dart pub publish --force
36
;;
37
[Nn]*) ;;
38
- *) echo "Please answer yes or no." ;;
+ *) echo "Not publishing this package." ;;
39
esac
40
}
41
0 commit comments