File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 3030
3131 - name : Update .csproj Version
3232 run : |
33- sed -i "s/<Version>.*<\/Version>/<Version>${{ steps.gitversion.outputs.semVer }}<\/Version>/" Midnight.SOAP.SDK/Midnight.SOAP.SDK.csproj
33+ sed -i "s/<Version>.*<\/Version>/<Version>${{ steps.gitversion.outputs.majorMinorPatch }}<\/Version>/" Midnight.SOAP.SDK/Midnight.SOAP.SDK.csproj
3434
3535 - name : Restore dependencies
3636 run : dotnet restore Midnight.SOAP.SDK/Midnight.SOAP.SDK.csproj
3939 run : dotnet build Midnight.SOAP.SDK/Midnight.SOAP.SDK.csproj --configuration Release --no-restore
4040
4141 - name : Pack NuGet package
42- run : dotnet pack Midnight.SOAP.SDK/Midnight.SOAP.SDK.csproj --configuration Release --no-build --output ./nupkg /p:Version=${{ steps.gitversion.outputs.semVer }}
42+ run : dotnet pack Midnight.SOAP.SDK/Midnight.SOAP.SDK.csproj --configuration Release --no-build --output ./nupkg /p:Version=${{ steps.gitversion.outputs.majorMinorPatch }}
4343
4444 - name : Publish to NuGet
4545 run : dotnet nuget push ./nupkg/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}
5454 - name : Create GitHub Release
5555 uses : softprops/action-gh-release@v2
5656 with :
57- tag_name : v${{ steps.gitversion.outputs.semVer }}
58- name : Release v${{ steps.gitversion.outputs.semVer }}
57+ tag_name : v${{ steps.gitversion.outputs.majorMinorPatch }}
58+ name : Release v${{ steps.gitversion.outputs.majorMinorPatch }}
5959 body_path : ./CHANGELOG.md
6060 files : ./nupkg/*.nupkg
6161 env :
You can’t perform that action at this time.
0 commit comments