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
Auto merge of #711 - AzureMarker:feature/skip-empty-versions, r=jackh726
Skip crate publishing if there have been no changes
The last few crate releases have not introduced any changes, but the weekly publishing job has still pumped out new versions:

Now, using the [`cargo workspaces changed`](https://github.com/pksunkara/cargo-workspaces#changed) command, new crate versions are only published if there has been a change in one of the crates.
One interesting effect of using this method is that changes to sections of the project such as the book or main readme (which do not affect the crates) do not trigger crate releases. I don't expect that this will be an issue, but it's important to note.
Edit: I've updated the code to skip the empty release check if the job is manually triggered. This should be a sufficient workaround.
0 commit comments