diff --git a/.github/workflows/dotnet-release.yml b/.github/workflows/dotnet-release.yml index d2ff5bd77..84b1f43b7 100644 --- a/.github/workflows/dotnet-release.yml +++ b/.github/workflows/dotnet-release.yml @@ -63,12 +63,3 @@ jobs: # remove AutoGen.SourceGenerator.snupkg because it's an empty package rm ./output/release/AutoGen.SourceGenerator.*.snupkg dotnet nuget push --api-key ${{ secrets.AUTOGEN_NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json ./output/release/*.nupkg --skip-duplicate - - name: Tag commit - run: | - Write-Host "Tag commit" - # version = eng/MetaInfo.props.Project.PropertyGroup.VersionPrefix - $metaInfoContent = cat ./eng/MetaInfo.props - $version = $metaInfoContent | Select-String -Pattern "(.*)" | ForEach-Object { $_.Matches.Groups[1].Value } - git tag -a "$version" -m "AutoGen.Net release $version" - git push origin --tags - shell: pwsh