Skip to content

Commit

Permalink
Fix args var usage for release script
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffh committed Nov 1, 2016
1 parent 5b97c1d commit 3245bca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/release
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ do
esac
done

if [ $# -lt 2 ]; then
if [ ${args[@]} -lt 2 ]; then
help
fi

VERSION=args[0]
RELEASE_NOTES=args[1]
VERSION=${args[0]}
RELEASE_NOTES=${args[1]}

VERSION_TAG="v$VERSION"

Expand Down

0 comments on commit 3245bca

Please sign in to comment.