Squirrel.Windows icon indicating copy to clipboard operation
Squirrel.Windows copied to clipboard

Issues converting to using SemVer

Open DenisPitcher opened this issue 9 years ago • 1 comments

I ran into an issue I thought worth documenting for others.

When trying to switch from traditional visual studio versioning to SemVer I ran into an issue. I kept getting messages like these when trying to run squirrel --releasify

squirrel : System.ArgumentException: '0.1.0-ci.1228' is not a valid version string. At line:1 char:1

I kept trying to change the version on my project to something simple like 0.1.0 and it still wouldn't work.

After digging through everything I could I realized that the prior failed nuget files had actually been written to the destination directory. These files were being read as part of the releasify operation and failing regardless of what my current version was.

A fix is to delete these failed versions from the destination directory.

DenisPitcher avatar Feb 13 '17 09:02 DenisPitcher

Hi @DenisPitcher,

I'm having the same issue and it's not clear what you mean by the "destination directory". Is that the releases folder? Do you know which files in particular?

nickelbob avatar Jun 13 '17 04:06 nickelbob