Browse Source

Use version suffix for MyGet publish (#1754)

Marko Lahma 1 year ago
parent
commit
1c20e5f0ea
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/workflows/build.yml

+ 1 - 1
.github/workflows/build.yml

@@ -24,7 +24,7 @@ jobs:
       run: dotnet test --configuration Release --logger GitHubActions
       run: dotnet test --configuration Release --logger GitHubActions
 
 
     - name: Pack with dotnet
     - name: Pack with dotnet
-      run: dotnet pack Jint/Jint.csproj --output artifacts --configuration Release -p:PackageVersion=3.0.0-preview-$GITHUB_RUN_NUMBER
+      run: dotnet pack Jint/Jint.csproj --output artifacts --configuration Release -p:VersionSuffix=preview-$GITHUB_RUN_NUMBER
 
 
     - name: Push with dotnet
     - name: Push with dotnet
       run: dotnet nuget push artifacts/*.nupkg --api-key ${{ secrets.MYGET_API_KEY }} --skip-duplicate --source https://www.myget.org/F/jint/api/v2/package
       run: dotnet nuget push artifacts/*.nupkg --api-key ${{ secrets.MYGET_API_KEY }} --skip-duplicate --source https://www.myget.org/F/jint/api/v2/package