Skip to content

Commit 2b7b990

Browse files
committed
Update CI/CD workflow to use MajorMinorPatch versioning for build and pack steps
1 parent 1e6a22f commit 2b7b990

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci-cd.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,10 @@ jobs:
8282
run: dotnet restore ${{ env.PROJECT_PATH }}
8383

8484
- name: Build
85-
run: dotnet build ${{ env.PROJECT_PATH }} --no-restore --configuration Release -p:Version=${{ steps.gitversion.outputs.semVer }}
85+
run: dotnet build ${{ env.PROJECT_PATH }} --no-restore --configuration Release -p:Version=${{ steps.gitversion.outputs.MajorMinorPatch }}
8686

8787
- name: Pack
88-
run: dotnet pack ${{ env.PROJECT_PATH }} --no-build --configuration Release -p:PackageVersion=${{ steps.gitversion.outputs.semVer }} --output ./nupkg
88+
run: dotnet pack ${{ env.PROJECT_PATH }} --no-build --configuration Release -p:PackageVersion=${{ steps.gitversion.outputs.MajorMinorPatch }} --output ./nupkg
8989

9090
- name: Publish to NuGet
9191
env:

0 commit comments

Comments
 (0)