Skip to content

Fix dry runs#111

Open
MattiasBuelens wants to merge 4 commits intomainfrom
fix-dry-run
Open

Fix dry runs#111
MattiasBuelens wants to merge 4 commits intomainfrom
fix-dry-run

Conversation

@MattiasBuelens
Copy link
Contributor

The dryRun option in the Bump and release workflow wasn't very dry... First, the "bump and release" job would try to commit and push a bunch of things, and then the "cleanup" job would revert those changes.

Except, if "bump and release" is run as a dry run with the same version as the latest version, then the "clean up" job would remove the tag for that latest version! This happened in this run, which removed the 10.10.0 tag. We had to manually re-create that tag.

This reworks the workflow so dry runs don't push anything. Hence, they also don't need to be cleaned up, so we can't mess up the cleanup logic either. 😉

@MattiasBuelens
Copy link
Contributor Author

Tested in this run.

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.

1 participant