Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of rust-lang#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: ![image](https://user-images.githubusercontent.com/4417660/120943604-f2f37880-c6fd-11eb-8034-662830f950a8.png) 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.
- Loading branch information