Skip to content

Commit 1920d51

Browse files
committed
Publish the NuGet package only when tagged
See discussion on adamralph/minver#488 (comment)
1 parent 7166dc0 commit 1920d51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
publish:
4747
runs-on: macos-latest
4848
needs: package
49-
if: github.ref == 'refs/heads/prerelease' || startsWith(github.ref, 'refs/tags')
49+
if: startsWith(github.ref, 'refs/tags/')
5050
name: Publish NuGet package and create GitHub release
5151
steps:
5252
- name: Download NuGet package artifact

0 commit comments

Comments
 (0)