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.
I'm going to change this back to major.minor for Windows and OSX.