From c7adbb698894ad0dc49e35ce033d5d000f5c0c86 Mon Sep 17 00:00:00 2001 From: Matt Burke Date: Wed, 12 Dec 2012 11:15:49 -0500 Subject: [PATCH 1/8] Readme for releasing. --- GitTfs.sln | 6 ++++++ Release.proj | 11 +++++++++++ Releasing.md | 15 +++++++++++++++ 3 files changed, 32 insertions(+) create mode 100644 Release.proj create mode 100644 Releasing.md diff --git a/GitTfs.sln b/GitTfs.sln index 965b141d..f1accfdc 100644 --- a/GitTfs.sln +++ b/GitTfs.sln @@ -21,6 +21,12 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{F52EAF .nuget\nuget.targets = .nuget\nuget.targets EndProjectSection EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{CDE05FFA-9DDB-4694-8CA6-6DB7B235CD7F}" + ProjectSection(SolutionItems) = preProject + Release.proj = Release.proj + Releasing.md = Releasing.md + EndProjectSection +EndProject Global GlobalSection(TestCaseManagementSettings) = postSolution CategoryFile = GitTfs1.vsmdi diff --git a/Release.proj b/Release.proj new file mode 100644 index 00000000..1b71d476 --- /dev/null +++ b/Release.proj @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/Releasing.md b/Releasing.md new file mode 100644 index 00000000..ec672f2b --- /dev/null +++ b/Releasing.md @@ -0,0 +1,15 @@ +BUILDING AND RELEASING GIT-TFS +------------------------------ + +Normally, you should do this: + +0. Put the S3 credentials in Deploy.properties + + [example goes here] + +1. Update the version in VERSION and Version.cs, commit, tag. + +2. Build the release: build in release mode, upload to S3, update the website to point to the latest release. + Deploy.proj would be happy to do this for you. + + msbuild Release.proj /t:Release From e4a5bd99fea43282c15b369b1e6ddbe235d88102 Mon Sep 17 00:00:00 2001 From: Matt Burke Date: Wed, 12 Dec 2012 11:28:25 -0500 Subject: [PATCH 2/8] Build in release mode. --- Release.proj | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Release.proj b/Release.proj index 1b71d476..d7f193c6 100644 --- a/Release.proj +++ b/Release.proj @@ -8,4 +8,8 @@ + + + + From 7ddb349ac03015ca045b756597d2bf6167ea28f9 Mon Sep 17 00:00:00 2001 From: Matt Burke Date: Wed, 12 Dec 2012 12:36:18 -0500 Subject: [PATCH 3/8] Add CI.proj to solution. --- GitTfs.sln | 1 + 1 file changed, 1 insertion(+) diff --git a/GitTfs.sln b/GitTfs.sln index f1accfdc..9659ca34 100644 --- a/GitTfs.sln +++ b/GitTfs.sln @@ -23,6 +23,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{F52EAF EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{CDE05FFA-9DDB-4694-8CA6-6DB7B235CD7F}" ProjectSection(SolutionItems) = preProject + CI.proj = CI.proj Release.proj = Release.proj Releasing.md = Releasing.md EndProjectSection From a228c53ae6f390c2563306894d2d86786ab01870 Mon Sep 17 00:00:00 2001 From: Matt Burke Date: Wed, 12 Dec 2012 12:47:17 -0500 Subject: [PATCH 4/8] Package up the build. --- .nuget/packages.config | 1 + Release.proj | 37 ++++++++++++++++++++++++++++++++++++- 2 files changed, 37 insertions(+), 1 deletion(-) diff --git a/.nuget/packages.config b/.nuget/packages.config index 1cb9b2b9..10bf2f43 100644 --- a/.nuget/packages.config +++ b/.nuget/packages.config @@ -1,4 +1,5 @@  + diff --git a/Release.proj b/Release.proj index d7f193c6..8291c646 100644 --- a/Release.proj +++ b/Release.proj @@ -1,6 +1,22 @@ + + ./ + $(SolutionDir)\GitTfs\bin\Release + $(SolutionDir)\Releases + AnyCPU + x86 + + + + $(SolutionDir)/.nuget/packages.config + false + $(SolutionDir)\packages\MSBuildTasks.1.4.0.45\tools + $(MSBuildCommunityTasksPath)\MSBuild.Community.Tasks.dll + + + @@ -9,7 +25,26 @@ - + + + + + + + + + + + + + + + + + + + + From ab2903f11486b83bee19b60eb58d55205881ef69 Mon Sep 17 00:00:00 2001 From: Matt Burke Date: Tue, 18 Dec 2012 17:24:40 -0500 Subject: [PATCH 5/8] Include git2.dll from its new place. --- Release.proj | 37 ++++++++++++++++++++++--------------- 1 file changed, 22 insertions(+), 15 deletions(-) diff --git a/Release.proj b/Release.proj index 8291c646..5db516a6 100644 --- a/Release.proj +++ b/Release.proj @@ -2,26 +2,29 @@ - ./ - $(SolutionDir)\GitTfs\bin\Release - $(SolutionDir)\Releases + . + $(SolutionDir)/GitTfs/bin/Release + $(SolutionDir)/Releases AnyCPU - x86 + x86 $(SolutionDir)/.nuget/packages.config false - $(SolutionDir)\packages\MSBuildTasks.1.4.0.45\tools - $(MSBuildCommunityTasksPath)\MSBuild.Community.Tasks.dll + $(SolutionDir)/packages/MSBuildTasks.1.4.0.45/tools + $(MSBuildCommunityTasksPath)/MSBuild.Community.Tasks.dll - + - + + + + @@ -30,21 +33,25 @@ - - - - - - + + + + + + + - + + + $(PackagedDir)/GitTfs-$(Version).zip + From 511b34d6b48cd5e174f9b55e69fc368a7a8cabbf Mon Sep 17 00:00:00 2001 From: Matt Burke Date: Thu, 20 Dec 2012 09:06:44 -0500 Subject: [PATCH 6/8] Drop leading dirs. --- Release.proj | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Release.proj b/Release.proj index 5db516a6..25c77c39 100644 --- a/Release.proj +++ b/Release.proj @@ -33,13 +33,13 @@ - - - - - - - + + + + + + + From eceafac26c3673f728af694696a3c279fd38e5fc Mon Sep 17 00:00:00 2001 From: Matt Burke Date: Thu, 21 Mar 2013 22:08:49 -0400 Subject: [PATCH 7/8] :skull: pdb --- Release.proj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Release.proj b/Release.proj index 25c77c39..b7cfa48f 100644 --- a/Release.proj +++ b/Release.proj @@ -39,7 +39,7 @@ - + From 82397032989869eccca45495477e21085b8cf069 Mon Sep 17 00:00:00 2001 From: Matt Burke Date: Mon, 25 Mar 2013 11:30:12 -0400 Subject: [PATCH 8/8] Make the release instructions now-oriented, rather than future-oriented. --- Releasing.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Releasing.md b/Releasing.md index ec672f2b..aceb9652 100644 --- a/Releasing.md +++ b/Releasing.md @@ -3,13 +3,12 @@ BUILDING AND RELEASING GIT-TFS Normally, you should do this: -0. Put the S3 credentials in Deploy.properties - - [example goes here] - 1. Update the version in VERSION and Version.cs, commit, tag. -2. Build the release: build in release mode, upload to S3, update the website to point to the latest release. - Deploy.proj would be happy to do this for you. +2. Build the release: msbuild Release.proj /t:Release + +3. Upload the release somewhere. + +4. Update [the download button](https://github.com/git-tfs/git-tfs.github.com/blob/master/_includes/download_button.html) on the website.