Skip to content

Commit 64b7d40

Browse files
authored
Merge pull request #7 from FINTmodels/au-revoir-jenkins
Au revoir jenkins
2 parents 8a501ce + 24e3aa2 commit 64b7d40

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/release.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
types: [published]
55

66
jobs:
7-
build:
7+
publish:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Git checkout
@@ -17,10 +17,11 @@ jobs:
1717

1818
- name: .NET build
1919
run: |
20-
echo Version is ${{env.VERSION:1}}
21-
dotnet msbuild -t:restore,build,pack -p:Configuration=Release -p:Version=${{env.VERSION:1}} FINT.Information.Model.sln
20+
VERSION=${TAG_NAME:1}
21+
echo Version is $VERSION
22+
dotnet msbuild -t:restore,build,pack -p:Configuration=Release -p:Version=$VERSION -p:PackageVersion=$VERSION FINT.Model.Resource.sln
2223
env:
23-
VERSION: ${{github.event.release.tag_name}}
24+
TAG_NAME: ${{github.event.release.tag_name}}
2425

2526
- name: Publish new release to NuGet
2627
run: |

0 commit comments

Comments
 (0)