Skip to content

Commit

Permalink
Merge pull request #450 from Microsoft/develop
Browse files Browse the repository at this point in the history
Add release script fix to v0.15.2
  • Loading branch information
achocron authored Sep 28, 2017
2 parents e76b03d + add9d9f commit d0279a8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions git-release.cake
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,11 @@ Task("GitRelease")
var owner = "Microsoft";
var repo = "mobile-center-sdk-dotnet";
// Oddly, there is no obvious API to create a file, so we have to create a file by copying an existing
// file and replacing its contents
System.IO.File.Create("tempRelease.md").Dispose();
var releaseFile = File("tempRelease.md");
CopyFile(File("SDK/MobileCenter/Microsoft.Azure.Mobile/Properties/AssemblyInfo.cs"), releaseFile);
FileWriteText(releaseFile,"Please update description. It will be pulled out automatically from release.md next time.");
// Build a string containing paths to NuGet packages
// Build a string containing paths to NuGet packages.
var files = GetFiles("../../**/*Microsoft.Azure.Mobile*.nupkg");
var assets = string.Empty;
foreach (var file in files)
Expand Down

0 comments on commit d0279a8

Please sign in to comment.