File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 3232 uses : actions/checkout@v2
3333 - name : Set env
3434 run : echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
35- - name : Test
35+ - name : Checking release
3636 run : |
3737 echo $RELEASE_VERSION
3838 echo ${{ env.RELEASE_VERSION }}
@@ -100,15 +100,15 @@ jobs:
100100 echo Version: $VERSION
101101 VERSION="${VERSION//v}"
102102 echo Clean Version: $VERSION
103- dotnet pack -v normal -c Release --include-symbols --include-source -p:PackageVersion=$VERSION -o nupkg QueryBuilder/QueryBuilder.csproj
103+ dotnet pack -v normal -c Release --include-symbols --include-source -p:Version=$VERSION -p: PackageVersion=$VERSION -o nupkg QueryBuilder/QueryBuilder.csproj
104104 - name : Create Release NuGet package (SqlKata.Execution)
105105 run : |
106106 arrTag=(${GITHUB_REF//\// })
107107 VERSION="${arrTag[2]}"
108108 echo Version: $VERSION
109109 VERSION="${VERSION//v}"
110110 echo Clean Version: $VERSION
111- dotnet pack -v normal -c Release --include-symbols --include-source -p:PackageVersion=$VERSION -o nupkg SqlKata.Execution/SqlKata.Execution.csproj
111+ dotnet pack -v normal -c Release --include-symbols --include-source -p:Version=$VERSION -p: PackageVersion=$VERSION -o nupkg SqlKata.Execution/SqlKata.Execution.csproj
112112 - name : Push to GitHub Feed
113113 run : dotnet nuget push ./nupkg/*.nupkg --skip-duplicate --source $GITHUB_FEED --api-key $GITHUB_TOKEN
114114 - name : Push to NuGet Feed
You can’t perform that action at this time.
0 commit comments