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.
Technically, semver says that the "-build" part of the number says it's a prerelease. I don't know that we actually care about that, though.