From ab29f1e541ef5583a4fee22dd9fce71ffa5df587 Mon Sep 17 00:00:00 2001 From: Matt Burke Date: Wed, 20 Nov 2013 03:03:55 -0500 Subject: [PATCH] Refactor, and drop the need to manually run the Chocolatey task. --- Release.proj | 181 ++++++++++++++++++++++++++------------------------- Releasing.md | 4 -- 2 files changed, 91 insertions(+), 94 deletions(-) diff --git a/Release.proj b/Release.proj index 3497355d..88b45a73 100644 --- a/Release.proj +++ b/Release.proj @@ -2,40 +2,69 @@ - - git-tfs - - - git-tfs - - - https://github.com/$(GitHubUser)/$(GitHubProject).git - . - - $(SolutionDir)/GitTfs/bin/Release + + $(SolutionDir)\Version.cs AnyCPU x86 - - $(SolutionDir)\Version.cs + + $(SolutionDir)/GitTfs/bin/Release $(SolutionDir)/Releases GitTfs-$(Version).zip $(PackagedDir)/$(PackageFile) + + git-tfs + git-tfs + https://github.com/$(GitHubOwner)/$(GitHubRepository).git + https://github.com/git-tfs/git-tfs/releases/download/v$(Version)/$(PackageFile) - .\git-tfs.github.com + $(PackagedDir)/git-tfs.github.com + _includes/download_button.html + https://github.com/$(GitHubOwner)/git-tfs.github.com.git + + + + + + + + + + + + + + + + + + + + + + + + + + + + application/zip + + + $(SolutionDir)/.nuget/packages.config @@ -62,7 +91,26 @@ - + + + + + + + + + + + + + + + + + + + + @@ -70,43 +118,40 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + + + + + + + + + + + + + + + + + + + + + + + + @@ -130,11 +175,6 @@ - - - - - @@ -146,7 +186,7 @@ - + - + - - - - - application/zip - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Releasing.md b/Releasing.md index a77ec311..b1691e8d 100644 --- a/Releasing.md +++ b/Releasing.md @@ -14,7 +14,3 @@ Normally, you should do this: 3. Build the release and include the version (e.g. X.Y.Z) and the name of a changelog file (optional). msbuild Release.proj /t:Release /p:Version=X.Y.Z /p:ReleaseNotes="ReleaseNoteFile.md" - -4. Build the chocolatey package. (For this to work, you need to [set an API key](https://github.com/chocolatey/chocolatey/wiki/CommandsPush#note-to-use-this-command-you-must-have-your-api-key-saved-for-chocolateyorg-or-the-source-you-want-to-push-to).) - - msbuild Release.proj /t:Chocolatey /p:Version=X.Y.Z