Skip to content

Commit 5b08735

Browse files
authored
Attempt to fix duplicate releases issue (#18025)
This hopefully fixes #17991, as we first upgraded to v2 and are now back to 0.1.15. (This was lost in #17923, related #17995)
1 parent a00d0b3 commit 5b08735

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/release-artifacts.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,3 +221,7 @@ jobs:
221221
Sdist/*
222222
Wheel*/*
223223
debs.tar.xz
224+
# if it's not already published, keep the release as a draft.
225+
draft: true
226+
# mark it as a prerelease if the tag contains 'rc'.
227+
prerelease: ${{ contains(github.ref, 'rc') }}

changelog.d/18025.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix release process to not create duplicate releases.

0 commit comments

Comments
 (0)