Skip to content

Commit

Permalink
Adjust contrib/commit-name.sh to new version number format
Browse files Browse the repository at this point in the history
Assumes the change to take place when switching VERSION to 0.6.0-dev.
  • Loading branch information
martinholters committed Jul 26, 2016
1 parent fac54a7 commit d508e76
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion contrib/commit-name.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@ else
nb=$(expr $nb + 5578)
fi
if [ -n "$pre" ]; then
echo "$ver+$nb"
if [ $major = 0 -a $minor -le 5 ]; then
echo "$ver+$nb"
else
echo "$ver.$nb"
fi
else
echo $ver
fi
Expand Down

0 comments on commit d508e76

Please sign in to comment.