AppVeyor.yml validation error ... but it looks valid?
I'm trying do set the version in my appveyor.yml
file, but fails validation
version: {build}
or a semver compliment one...
version: {build}.0.0
whenever the first valud of the version is {build}
it fails validation.
We do this for our development code. We don't care about sem ver, for that and these are not nuget packages, but websites.
BUT, when i set the value via the AV UI, it works fine.
Not sure if this is a bug in the validator?
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac

Support Staff 1 Posted by Feodor Fitsner on 30 Jun, 2015 02:09 PM
It should be:
version: '{build}.0.0'
- Feodor
2 Posted by Pure Krome on 05 Jul, 2015 01:00 AM
Ah! your answer was to use
single quotesaround the value! ah! doh!!is there any difference when i use
single quotesvsdouble quotes?eg. i have this in my
appveyor.ymlfile (can't remember where I copied it from)..Support Staff 3 Posted by Feodor Fitsner on 05 Jul, 2015 02:01 AM
Found this: http://stackoverflow.com/questions/19109912/do-i-need-quotes-for-st...
4 Posted by Pure Krome on 05 Jul, 2015 09:19 AM
AH! sweet. ta.
i thought your yaml parser might have been custom --- but based on you linking to that SO post, i can use either (and also, why use either/or).
cheers!! much appreciated :)
Pure Krome closed this discussion on 05 Jul, 2015 09:19 AM.