From 384c21de3dfce8c87c425c7e73a0673e14f51019 Mon Sep 17 00:00:00 2001 From: Kirk Byers Date: Thu, 7 Mar 2019 21:01:04 -0800 Subject: [PATCH] Updating release script --- _release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_release.sh b/_release.sh index da659cd71..3dd03b3e3 100755 --- a/_release.sh +++ b/_release.sh @@ -3,8 +3,8 @@ cd /home/gituser/netmiko/ echo -VERSION=`cat netmiko/__init__.py | grep version | sed "s/^__version__ = '//"` -VERSION=`echo $VERSION | sed "s/'$//"` +VERSION=`cat netmiko/__init__.py | grep version | sed "s/^__version__ = \"//"` +VERSION=`echo $VERSION | sed "s/\"$//"` PACKAGE=`echo 'netmiko-'$VERSION'.tar.gz'` DIR_PACKAGE=`echo './dist/'$PACKAGE` echo -n "New Version is: "