Skip to content

Commit

Permalink
Handle 'v' on front of release version
Browse files Browse the repository at this point in the history
  • Loading branch information
pronovic committed Jan 17, 2021
1 parent 750781b commit ebd579b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ run_release() {
exit 1
fi

VERSION=$1
VERSION=$(echo "$1" | sed 's/^v//') # so you can use "0.1.5 or "v0.1.5"
COPYRIGHT="2020-$(date +'%Y')"
DATE=$(date +'%d %b %Y')
TAG="v$VERSION" # follow PEP 440 naming convention
Expand Down

0 comments on commit ebd579b

Please sign in to comment.