diff --git a/.gitignore b/.gitignore index ad4f0df6bd..2de9740181 100644 --- a/.gitignore +++ b/.gitignore @@ -82,3 +82,4 @@ Thumbs.db Desktop.ini _NCrunch_GitVersion +NuGetCommandLineBuild/ diff --git a/Build.cmd b/Build.cmd index dfb2eae061..3a98d73eb8 100644 --- a/Build.cmd +++ b/Build.cmd @@ -6,7 +6,7 @@ set framework=v4.0.30319 "%SystemDrive%\Windows\Microsoft.NET\Framework\%framework%\MSBuild.exe" "%~dp0GitVersion.sln" -mkdir "%~dp0GitVersion\bin\Intermediate" -cp "%~dp0GitVersion\bin\Debug\GitVersion.exe" "%~dp0GitVersion\bin\Intermediate\GitVersion.exe" +mkdir "%~dp0GitVersionExe\bin\Intermediate" +cp "%~dp0GitVersionExe\bin\Debug\GitVersion.exe" "%~dp0GitVersionExe\bin\Intermediate\GitVersion.exe" -"%~dp0GitVersion\bin\Intermediate\GitVersion.exe" /l console /output buildserver /updateAssemblyInfo /proj "%~dp0GitVersion.sln" +"%~dp0GitVersionExe\bin\Intermediate\GitVersion.exe" /l console /output buildserver /updateAssemblyInfo /proj "%~dp0GitVersion.sln" diff --git a/GitVersionExe/GemAssets/gitversion.gemspec b/GitVersionExe/GemAssets/gitversion.gemspec index 3b69af7928..099e0422b2 100644 --- a/GitVersionExe/GemAssets/gitversion.gemspec +++ b/GitVersionExe/GemAssets/gitversion.gemspec @@ -2,7 +2,7 @@ Gem::Specification.new do |spec| spec.platform = Gem::Platform::RUBY spec.name = 'gitversion' spec.licenses = ['MIT'] - spec.version = '0.20.0' + spec.version = '$version$' spec.summary = 'Derives SemVer information from a repository following GitFlow or GitHubFlow.' spec.description = <<-EOF Derives SemVer information from a repository following GitFlow or GitHubFlow. diff --git a/GitVersionExe/GitVersionExe.csproj b/GitVersionExe/GitVersionExe.csproj index ae4264bf36..4996bf76ab 100644 --- a/GitVersionExe/GitVersionExe.csproj +++ b/GitVersionExe/GitVersionExe.csproj @@ -66,6 +66,7 @@ Designer + Designer @@ -97,6 +98,28 @@ + + + + + + + + + + + + + + + + + @@ -104,17 +127,42 @@ - + + + + + + + + + + + + + + $(GitVersion_MajorMinorPatch) + $(GitVersion_MajorMinorPatch).$(GitVersion_PreReleaseTag) + + + + + diff --git a/GitVersionExe/NugetAssets/GitVersion.CommandLine.nuspec b/GitVersionExe/NugetAssets/GitVersion.CommandLine.nuspec new file mode 100644 index 0000000000..8aafa36727 --- /dev/null +++ b/GitVersionExe/NugetAssets/GitVersion.CommandLine.nuspec @@ -0,0 +1,17 @@ + + + + GitVersion.CommandLine + $version$ + GitVersion + NServiceBus Ltd + nservicebus, simoncropp + http://www.opensource.org/licenses/mit-license.php + http://github.com/Particular/GitVersion + https://raw.github.com/Particular/GitVersion/master/Icons/package_icon.png + false + Derives SemVer information from a repository following GitFlow or GitHubFlow. + en-AU + Git, Versioning, GitVersion, GitFlowVersion, GitFlow, GitHubFlow, SemVer + + \ No newline at end of file diff --git a/GitVersionExe/NugetAssets/GitVersion.nuspec b/GitVersionExe/NugetAssets/GitVersion.Portable.nuspec similarity index 96% rename from GitVersionExe/NugetAssets/GitVersion.nuspec rename to GitVersionExe/NugetAssets/GitVersion.Portable.nuspec index 8257f1ab6c..9d751fb310 100644 --- a/GitVersionExe/NugetAssets/GitVersion.nuspec +++ b/GitVersionExe/NugetAssets/GitVersion.Portable.nuspec @@ -1,7 +1,7 @@ - GitVersion + GitVersion.Portable $version$ GitVersion NServiceBus Ltd