Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failed in appveyor #264

Closed
mbellet opened this issue Jun 21, 2017 · 3 comments
Closed

Build failed in appveyor #264

mbellet opened this issue Jun 21, 2017 · 3 comments
Assignees

Comments

@mbellet
Copy link

mbellet commented Jun 21, 2017

I noticed that the build in https://ci.appveyor.com/project/aaubry/yamldotnet failed.
This is the error that you can read in the site too:

Cake.exe : An error occurred when executing task 'Set-Build-Version'.
At line:1 char:1
+ & "C:\projects\yamldotnet\tools\Cake\Cake.exe" "build.cake" -target=" ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (An error occurr...Build-Version'.:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
 
Error: 
UpdateBuildVersion failed (2).
Command executed with exception: 
@aaubry
Copy link
Owner

aaubry commented Jun 21, 2017

This is due to the way the versioning is setup. The version is given by a tag, but pushing the branch and pushing the tag both cause a build. If the tag is pushed before the branch build starts, both builds will see the tag and try to build the same version. I am not sure what to do about this. It is not a big deal, but if there is a fix, I would consider using it.

@mbellet
Copy link
Author

mbellet commented Jun 21, 2017

I saw that there is an option to build tags only: http://help.appveyor.com/discussions/questions/261-only-deploy-when-theres-a-new-tag.
I hope that this can help you.

@aaubry aaubry self-assigned this Sep 28, 2017
@EdwardCooke
Copy link
Collaborator

I think that has been resolved as only one build is running now. It also appears to be an abandoned issue. Closing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants