Skip to content

Commit

Permalink
Updating release script
Browse files Browse the repository at this point in the history
  • Loading branch information
ktbyers committed Mar 8, 2019
1 parent ac6e944 commit 384c21d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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: "
Expand Down

0 comments on commit 384c21d

Please sign in to comment.