diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0e2dc65..e67b81f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -101,7 +101,7 @@ jobs: - name: Create Nuget Packages id: createNupkg run: | - nuget pack .nuget\SourceGrid.nuspec -Version $($env:GitVersion_MajorMinorPatch) + nuget pack .nuget\SourceGrid.nuspec Write-Host "::set-output name=nupkg-sourcegrid::siemens.sourcegrid.$($env:GitVersion_MajorMinorPatch).nupkg" - name: Archive NuGet Packages @@ -138,7 +138,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: #tag_name: v$($env:GitVersion_MajorMinorPatch) - tag_name: ${{ needs.build.outputs.semver }} + tag_name: v${{ needs.build.outputs.semver }} release_name: Release v${{ needs.build.outputs.semver }} body: | ${{ github.event.head_commit.message }} @@ -165,6 +165,3 @@ jobs: asset_path: ./${{ needs.build.outputs.nupkg-sourceGrid }} asset_name: ${{ needs.build.outputs.nupkg-sourceGrid }} asset_content_type: application/zip - - -