sway icon indicating copy to clipboard operation
sway copied to clipboard

Support nightly releases

Open spiral-ladder opened this issue 3 years ago • 3 comments

In a recent chat with @mitchmindtree, we discussed how it might be a good time to consider supporting nightly releases in the near future, especially with fuelup in the works. Justification is that Fuel devs would be able to easily grab the most recent changes without having to manually clone, build and install all the tools.

Seems like we already have a nightly cargo audit CI job - we can further extend this to support nightly releases for our binaries

spiral-ladder avatar May 20 '22 03:05 spiral-ladder

Fun fact but we used to have https://github.com/FuelLabs/sway-nightly-binaries. Time to revive that repo?

adlerjohn avatar May 20 '22 12:05 adlerjohn

Previously it seems like we had nightly releases implemented in the format stated here #175

Proposing to use nightly-YYYYMMDD-hash instead (without the hours). Happy to pick this up once myself once we agree on a format for forc and fuel-core releases https://github.com/FuelLabs/fuel-core/issues/503#issuecomment-1210037014

spiral-ladder avatar Aug 10 '22 01:08 spiral-ladder

@bingcicle SGTM!

mitchmindtree avatar Aug 10 '22 23:08 mitchmindtree

Fun fact but we used to have https://github.com/FuelLabs/sway-nightly-binaries. Time to revive that repo?

Question about releasing nightlies - I think we should revive this repo and release binary assets there instead of within this repo, so that we do not pollute the releases under this repo. The CI yaml will be vastly different as well since we can skip most of the CI steps and go straight to building and releasing, so I think it's fair to have a different repo and workflow for this.

spiral-ladder avatar Aug 24 '22 09:08 spiral-ladder

Un-archived the repo. Feel free to nuke the default branch's current contents and use it at will.

adlerjohn avatar Aug 24 '22 13:08 adlerjohn

Will also create a fuel-core-nightly as well - will mention this in the fuel-core issue

spiral-ladder avatar Aug 25 '22 01:08 spiral-ladder

Ah wait, is this something we want^? Or do we want both in the same repo?

spiral-ladder avatar Aug 25 '22 01:08 spiral-ladder

Up to you. For this, I'm not necessarily sure what the benefit of two repos is.

adlerjohn avatar Aug 25 '22 01:08 adlerjohn

Nightlies are live on https://github.com/FuelLabs/sway-nightly-binaries along with their respective workflows. Did this because the workflows are significant shorter (no testing, since commits to master would've already passed the CI steps anyway) + includes extra steps to create releases.

Can we also add protection rules to that repo? @adlerjohn

I think this issue can be closed once we resolve the above

spiral-ladder avatar Sep 02 '22 01:09 spiral-ladder