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/GitTfs.sln b/GitTfs.sln index 2b2419e1..51c6e6db 100644 --- a/GitTfs.sln +++ b/GitTfs.sln @@ -21,6 +21,11 @@ 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 + CI.proj = CI.proj + Release.proj = Release.proj + Releasing.md = Releasing.md Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "docs", "docs", "{4A46FEEE-B8A2-4445-B9D1-8160520C7301}" ProjectSection(SolutionItems) = preProject docs\config.md = docs\config.md diff --git a/Release.proj b/Release.proj new file mode 100644 index 00000000..b7cfa48f --- /dev/null +++ b/Release.proj @@ -0,0 +1,57 @@ + + + + + . + $(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 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $(PackagedDir)/GitTfs-$(Version).zip + + + + diff --git a/Releasing.md b/Releasing.md new file mode 100644 index 00000000..aceb9652 --- /dev/null +++ b/Releasing.md @@ -0,0 +1,14 @@ +BUILDING AND RELEASING GIT-TFS +------------------------------ + +Normally, you should do this: + +1. Update the version in VERSION and Version.cs, commit, tag. + +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.