Skip to content

Commit 111e607

Browse files
author
Rishabh Karnad
committed
Removed prompt to install np
1 parent 15d4d40 commit 111e607

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

build/release.sh

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,11 @@
11
set -e
22

33
# check if np is installed
4-
# if not, prompt the user to install it
54
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
5+
echo "Using np:" $np_version
186

197
# get the version number from the user
20-
read -e -p "Enter the new version" VERSION
8+
read -e -p "Enter the new Vue Native version: " VERSION
219
if [[ -z $VERSION ]]; then
2210
echo "No version entered. Exiting..."
2311
exit 0

0 commit comments

Comments
 (0)