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 15d4d40 commit 111e607Copy full SHA for 111e607
build/release.sh
@@ -1,23 +1,11 @@
1
set -e
2
3
# check if np is installed
4
-# if not, prompt the user to install it
5
np_version=$(np --version)
6
-if [[ $? -eq 0 ]]; then
7
- echo "Using np version: " $np_version
8
-else
9
- echo "np is not installed"
10
- read -e -p "Install globally? (Executes: npm install -global np) [y/n]" REPLY
11
- if [[ $REPLY =~ ^(y|yes)$ ]]; then
12
- npm install -global np
13
- elif [[ $REPLY =~ ^(n|no)$ ]]; then
14
- echo "Exiting..."
15
- exit 1
16
- fi
17
-fi
+echo "Using np:" $np_version
18
19
# get the version number from the user
20
-read -e -p "Enter the new version" VERSION
+read -e -p "Enter the new Vue Native version: " VERSION
21
if [[ -z $VERSION ]]; then
22
echo "No version entered. Exiting..."
23
exit 0
0 commit comments