Skip to content

Commit e6b1773

Browse files
committed
Merge branch 'w/2.12/bugfix/ZENKO-5101' into tmp/octopus/w/2.13/bugfix/ZENKO-5101
2 parents a62afe5 + 1f9cf38 commit e6b1773

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

tests/workflows/release.spec.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,12 +216,25 @@ test.each([
216216
name: "Release " + tag,
217217
body: "something changed",
218218
prerelease: tag === '2.3.7-rc.1',
219+
draft: true,
219220
})
220221
.reply({ status: 201, data: {
221222
id: 123,
222223
upload_url: 'http://uploads.github.com/repos/scality/Zenko/releases/456/assets{?name,label}',
223224
html_url: 'http://github.com/repos/scality/Zenko/releases/456',
224225
}}),
226+
moctokit.rest.repos
227+
.updateRelease({
228+
owner: "scality",
229+
repo: "Zenko",
230+
draft: false,
231+
release_id: 123,
232+
})
233+
.reply({ status: 200, data: {
234+
id: 123,
235+
upload_url: 'http://uploads.github.com/repos/scality/Zenko/releases/456/assets{?name,label}',
236+
html_url: 'http://github.com/repos/scality/Zenko/releases/456',
237+
}}),
225238
],
226239
mockSteps: {
227240
'verify-release': [{

0 commit comments

Comments
 (0)