Skip to content

Commit a144802

Browse files
authored
version not prefixed with v
1 parent e287c9b commit a144802

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/buildandpublish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: Publish to NuGet
33
on:
44
push:
55
tags:
6-
- 'v*.*.*'
7-
- 'v*.*.*-*' # Trigger on tags matching vX.Y.Z or vX.Y.Z-prerelease
6+
- '*.*.*'
7+
- '*.*.*-*' # Trigger on tags matching vX.Y.Z or vX.Y.Z-prerelease
88

99
jobs:
1010
build:
@@ -91,4 +91,4 @@ jobs:
9191

9292
- name: Publish release to NuGet.org
9393
if: steps.prerelease.outputs.IS_PRERELEASE == 'false'
94-
run: dotnet nuget push "*.nupkg" --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}
94+
run: dotnet nuget push "*.nupkg" --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}

0 commit comments

Comments
 (0)