Skip to content

Commit 51d3fe6

Browse files
committed
Make it easier to test locally by only using PackageVersion and overwriting it on GitHub (Version doesn't work with suffix)
(cherry picked from 58d5a14)
1 parent 4a247a0 commit 51d3fe6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/CreateSignNuGet.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
- name: Create NuGet Package (Branch)
2121
if: github.ref_type != 'tag'
22-
run: dotnet pack ./working --version-suffix "ci-${{ github.run_number }}" -c Release
22+
run: dotnet pack ./working -p:PackageVersion="1.0.0-ci-${{ github.run_number }}" -c Release
2323

2424
- name: Create NuGet Package (Tag)
2525
if: github.ref_type == 'tag'

working/templatepack.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<PackageType>template</PackageType>
5-
<Version Condition="'$(Configuration)' == 'Debug'">1.0.0</Version>
5+
<PackageVersion>1.0.18-alpha</PackageVersion>
66
<PackageId>Skyline.DataMiner.VisualStudioTemplates.Internal</PackageId>
77
<Title>DataMiner DotNet Templates</Title>
88
<Authors>SkylineCommunications</Authors>

0 commit comments

Comments
 (0)