We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b89241 commit 24e3aa2Copy full SHA for 24e3aa2
1 file changed
.github/workflows/release.yaml
@@ -17,10 +17,11 @@ jobs:
17
18
- name: .NET build
19
run: |
20
- echo Version is ${VERSION:1}
21
- dotnet msbuild -t:restore,build,pack -p:Configuration=Release -p:Version=${VERSION:1} FINT.Model.Resource.sln
+ VERSION=${TAG_NAME:1}
+ echo Version is $VERSION
22
+ dotnet msbuild -t:restore,build,pack -p:Configuration=Release -p:Version=$VERSION -p:PackageVersion=$VERSION FINT.Model.Resource.sln
23
env:
- VERSION: ${{github.event.release.tag_name}}
24
+ TAG_NAME: ${{github.event.release.tag_name}}
25
26
- name: Publish new release to NuGet
27
0 commit comments