Skip to content

Commit 6c9bcac

Browse files
NZSmartieqdot
authored andcommitted
Tell AppVeyor to patch PackageVersion in dotnet .csproj files
1 parent 7fba7fa commit 6c9bcac

4 files changed

Lines changed: 9 additions & 0 deletions

File tree

Buttplug.Client/Buttplug.Client.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
<PropertyGroup>
44
<PackageId />
5+
<PackageVersion>Buttplug.Client</PackageVersion>
56
<RootNamespace>Buttplug.Client</RootNamespace>
67
<AssemblyName>Buttplug.Client</AssemblyName>
78
<TargetFrameworks>net452;netstandard1.4</TargetFrameworks>

Buttplug.Core/Buttplug.Core.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
<PropertyGroup>
44
<PackageId />
5+
<PackageVersion>Buttplug.Core</PackageVersion>
56
<RootNamespace>Buttplug.Core</RootNamespace>
67
<AssemblyName>Buttplug.Core</AssemblyName>
78
<TargetFrameworks>net452;netstandard1.4</TargetFrameworks>

Buttplug.Server/Buttplug.Server.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
<PropertyGroup>
44
<PackageId />
5+
<PackageVersion>Buttplug.Server</PackageVersion>
56
<RootNamespace>Buttplug.Server</RootNamespace>
67
<AssemblyName>Buttplug.Server</AssemblyName>
78
<TargetFrameworks>net452;netstandard1.4</TargetFrameworks>

appveyor.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,12 @@ assembly_info:
5858
assembly_version: $(appveyor_build_version)
5959
assembly_file_version: $(appveyor_build_version)
6060
assembly_informational_version: $(appveyor_info_version)
61+
62+
# Patch <PackageVersion> in new .csproj files
63+
dotnet_csproj:
64+
patch: true
65+
file: '**\*.csproj'
66+
package_version: $(appveyor_build_version)
6167

6268
# Automatically register private account and/or project AppVeyor NuGet feeds.
6369
nuget:

0 commit comments

Comments
 (0)