You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run a job with the publish-to-autorelease.yml example. This creates a draft release.
Manually publish the release by browsing to it and clicking Publish Release.
Make another commit to the repo.
Run the job again without updating the app version.
Expected:
The job should fail, since there is already a published release with the same tag.
Actual:
The published release's binaries are overwritten.
However the release's tag isn't updated, so it is now pointing to the commit from first job run, not the one used to generate the new binaries.
The source code archive is also from the original job commit, not the one used to generate the new binaries.
The text was updated successfully, but these errors were encountered:
I think the if (draft) { logic here should differentiate between existing draft releases and published releases. If a published release is found with the same tag, the job should fail.
Steps to reproduce:
publish-to-autorelease.yml
example. This creates a draft release.Publish Release
.Expected:
The job should fail, since there is already a published release with the same tag.
Actual:
The published release's binaries are overwritten.
However the release's tag isn't updated, so it is now pointing to the commit from first job run, not the one used to generate the new binaries.
The source code archive is also from the original job commit, not the one used to generate the new binaries.
The text was updated successfully, but these errors were encountered: