Skip to content

Commit c64ac69

Browse files
author
Jake Ginnivan
committed
Changed NuGet title to TestStack.BDDfy and allowed build server to pass version through
1 parent c3de2f0 commit c64ac69

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

NuGet/TestStack.BDDfy.Samples/TestStack.BDDfy.Samples.nuspec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
<package xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
33
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
44
<id>TestStack.BDDfy.Samples</id>
5-
<version>3.10</version>
6-
<title>Two BDD samples done using BDDfy</title>
5+
<version>$version$</version>
6+
<title>TestStack.BDDfy.Samples</title>
77
<authors>Mehdi Khalili, Michael Whelan</authors>
88
<owners>Mehdi Khalili, Michael Whelan</owners>
99
<requireLicenseAcceptance>false</requireLicenseAcceptance>
10-
<description>contains two small samples that showcase BDDfy's API and usage</description>
10+
<description>Contains two small samples that showcase BDDfy's API and usage</description>
1111
<projectUrl>http://teststack.github.com/TestStack.BDDfy/</projectUrl>
1212
<dependencies>
13-
<dependency id="TestStack.BDDfy" version="3.10" />
13+
<dependency id="TestStack.BDDfy" version="$version$" />
1414
<dependency id="nunit" version="2.5" />
1515
</dependencies>
1616
</metadata>

NuGet/TestStack.BDDfy/TestStack.BDDfy.nuspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<package xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
33
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
44
<id>TestStack.BDDfy</id>
5-
<version>3.15</version>
6-
<title>A simple to use and extend BDD framework for .Net programmers</title>
5+
<version>$version$</version>
6+
<title>TestStack.BDDfy</title>
77
<authors>Mehdi Khalili, Michael Whelan</authors>
88
<owners>Mehdi Khalili, Michael Whelan</owners>
99
<requireLicenseAcceptance>false</requireLicenseAcceptance>

Packages.build

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,9 @@
8181
<CreateItem Include="$(BDDfySpec);$(SamplesSpec);">
8282
<Output ItemName="NuGetSpec" TaskParameter="Include"/>
8383
</CreateItem>
84-
<FileUpdate Files="@(NuGetSpec)" Regex="0\.0\.0\.0" ReplacementText="$(Version)" />
8584
<CallTarget Targets="CopyBDDfyLibs;CopyBDDfySampleFiles;" />
8685
<MakeDir Directories="$(PackageOutput)" ContinueOnError="true"/>
87-
<Exec Command='$(NuGetExe) pack "%(NuGetSpec.FullPath)"' WorkingDirectory="$(PackageOutput)"/>
86+
<Exec Command='$(NuGetExe) pack "%(NuGetSpec.FullPath)" -version $(Version)' WorkingDirectory="$(PackageOutput)"/>
8887
</Target>
8988

9089
<Target Name="Release" DependsOnTargets="Clean;Prepare;Build;Pack"/>

0 commit comments

Comments
 (0)