paritytech / substrate

Substrate: The platform for blockchain innovators
Apache License 2.0
8.39k stars 2.65k forks source link

Release individual crates upon merge into master #10166

Open gnunicorn opened 2 years ago

gnunicorn commented 2 years ago

Right now, the CI job is releasing creates when it finds a ci-release-tag on the commit. However, we want the job to run on every merge into master and release all crates where versions have been changed compared to what is released on crates.io at the moment. From a technical perspective this only requires switching the unleash job to run on master, but before we can do that we have to consider a few aspects:

gnunicorn commented 2 years ago

the unleash-check-CI job is currently disabled (I don't know why) but must run the release job, at least on the PR that intends to bump versions, to ensure things aren't breaking (ideally on every PR to make sure we've catch bugs early and not only when we intend to release it)

Digging into the history of this, it seems it was temporarily deactivated to wait for an external fix that has been merged already Sept 15th – just no one re-activated the jobs properly. Gonna give it a try and see if this is a quick one to sort out.