accept 1.0 version number for set-release task

The `set-release` task didn't work with 1.0 version numbers. This PR fixes the misbehavior.
And of course, soon with 1.1 we'll be deviating a bit from following semver anyway :-)