Skip to content

Reordered release actions#6

Merged
mockitoguy merged 1 commit intomasterfrom
sf
Oct 27, 2020
Merged

Reordered release actions#6
mockitoguy merged 1 commit intomasterfrom
sf

Conversation

@mockitoguy
Copy link
Copy Markdown
Contributor

Based the experience from Mockito project let's try the approach to perform "bintrayUpload" before tagging the release in GitHub.

Originally we thought that tagging before artifact publishing is a good idea. Bad tag is easier to revert than reverting binary artifacts publish. In fact, we cannot unpublish artifacts from some repositories, such as Maven Central. In practice though, tagging almost never fails. Therefore, let's run the task that may fail before tagging. This way, in case of a failure, there is less manual fixing (removing tags/release notes from GH) and less confusion to our end users (no more releases on GH that don't have any artifacts).

Based the experience from Mockito project let's try the approach to perform "bintrayUpload" *before* tagging the release in GitHub.

Originally we thought that tagging *before* artifact publishing is a good idea. Bad tag is easier to revert than reverting binary artifacts publish. In fact, we cannot unpublish artifacts from some repositories, such as  Maven Central. In practice though, tagging almost never fails. Therefore, let's run the task that *may* fail before tagging. This way, in case of a failure, there is less manual fixing (removing tags/release notes from GH) and less confusion to our end users (no more releases on GH that don't have any artifacts).
@mockitoguy mockitoguy merged commit 9dab39c into master Oct 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants