Create release without draft step

This commit is contained in:
Mikhail f. Shiryaev 2022-05-18 13:10:12 +02:00
parent 1c11823935
commit c6e2dd1c43
No known key found for this signature in database
GPG Key ID: 4B02ED204C7D93F4

View File

@ -374,7 +374,7 @@ class Release:
if as_prerelease: if as_prerelease:
prerelease = "--prerelease" prerelease = "--prerelease"
self.run( self.run(
f"gh release create {prerelease} --draft --repo {self.repo} " f"gh release create {prerelease} --repo {self.repo} "
f"--title 'Release {tag}' '{tag}'" f"--title 'Release {tag}' '{tag}'"
) )
rollback_cmd = f"gh release delete --yes --repo {self.repo} '{tag}'" rollback_cmd = f"gh release delete --yes --repo {self.repo} '{tag}'"