Skip to content

Commit 72e8368

Browse files
committed
Correct release on tag.
1 parent ae922c4 commit 72e8368

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Publish to NuGet
3737
if: github.event_name == 'push'
3838
run: |
39-
if ( "${{github.ref}}" -match "^refs/tags/[0-9]+\.[0-9]+\.[0-9]+$" ) {
39+
if ( "${{github.ref}}" -match "^refs/tags/v[0-9]+\.[0-9]+\.[0-9]+$" ) {
4040
dotnet nuget push build\packages\**\*.nupkg -s nuget.org -k ${{secrets.NUGET_TOKEN}} --no-symbols true
4141
} else {
4242
echo "publish is only enabled by tagging with a release tag"

0 commit comments

Comments
 (0)