8000 Correcting AppVeyor Support for Pull Requests by gep13 · Pull Request #262 · GitTools/GitVersion · GitHub
[go: up one dir, main page]

Skip to content

Correcting AppVeyor Support for Pull Requests #262

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

Merged
merged 3 commits into from
Oct 2, 2014
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
(#260) Adding output for GenerateSetParameterMessage
- As per suggestion here:

#260 (comment)
  • Loading branch information
Gary Ewan Park committed Sep 26, 2014
commit d1fafa176bee5195511e9e615e71926f51ccdf7e
8 changes: 6 additions & 2 deletions GitVersionCore/BuildServers/AppVeyor.cs
6377
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,12 @@ public override string GenerateSetVersionMessage(string versionToUseForBuildNumb

public override string[] GenerateSetParameterMessage(string name, string value)
{
// Currently not supported by AppVeyor API
return new string[0];
Environment.SetEnvironmentVariable("GitVersion." + name, value);

return new[]
{
string.Format("Adding Environment Variable. name='GitVersion.{0}' value='{1}']", name, value),
};
}
}
}
0