Skip to content

Commit

Permalink
Fix version check
Browse files Browse the repository at this point in the history
  • Loading branch information
akb authored and akb committed Jul 29, 2019
1 parent cb3bfea commit 28b2bbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/bump_and_release.bash
Expand Up @@ -22,7 +22,7 @@ git checkout -b master origin/master

echo Checking for changes since last release.
last_release="$( bump2version --dry-run --list patch | grep current_version | sed -r 's/^.*=//')"
if [[ $( git diff --name-only HEAD.."$last_release" ) ]]
if [[ $( git diff --name-only HEAD..v"$last_release" ) ]]
then
echo "Changes found. Continuing"
else
Expand Down

0 comments on commit 28b2bbc

Please sign in to comment.