Skip to content
This repository has been archived by the owner on Sep 21, 2024. It is now read-only.

fix: Cargo workspace inheritance in release-please #362

Merged

Conversation

cdata
Copy link
Collaborator

@cdata cdata commented May 8, 2023

During the latest release (last week), we hit a really lame bug in release-please: googleapis/release-please#1896

TL;DR, release-please doesn't currently detect that a Cargo workspace member has changed, if that member uses workspace dependency inheritance and also one of its inherited dependencies changed at the workspace level.

This bug led to a bad release where noosphere-storage technically should have had a release due to a version change in an inherited dependency. Since it didn't have a release, it is now incompatible with all the other crates that did get released.

This PR switches us to use a patched version of release-please that supports detecting changes in inherited dependencies. As this change makes its way into upstream release-please, we will switch back.

@cdata cdata requested a review from jsantell May 8, 2023 20:21
@cdata cdata merged commit 229f7c0 into main May 8, 2023
@cdata cdata deleted the fix/support-cargo-workspace-inheritance-in-release-please branch May 8, 2023 21:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants