julia-actions / setup-julia

This action sets up a Julia environment for use in actions by downloading a specified version of Julia and adding it to PATH.
MIT License
93 stars 23 forks source link

Simplify the release process (no more build script or release branches) #281

Closed DilumAluthge closed 2 weeks ago

DilumAluthge commented 1 month ago

Fixes #280

After this PR, the release process of this repo becomes very simple:

  1. Create the new vMAJOR.MINOR.PATCH tag locally (and push it).
  2. Update the vMAJOR tag locally (and force-push it).
  3. Go to https://github.com/julia-actions/setup-julia/releases and create the release.

This is the exact same release process that is used in the julia-actions/cache repo[^1].

So, by having the same release process across multiple repos, this should make things easier for maintainers.

[^1]: See the devdocs here: https://github.com/julia-actions/cache/blob/main/devdocs/making_a_new_release.md

Benefits:

  1. There are no more long release instructions.
  2. There is no more build script that needs to be run.
  3. There are no more release branches.
  4. There is no need to run tests on the release branches, and then wait for those tests to pass before you can proceed.

Other benefits

  1. As an added benefit, after this, PRs to this repo become useable. So, if someone wants to test out a PR before it is merged, they can simply do uses: julia-actions/setup-julia@name-of-pr-branch.
omus commented 3 weeks ago

I agree with the idea of checking in the built version

DilumAluthge commented 3 weeks ago

@omus This is ready for another round of review.

DilumAluthge commented 2 weeks ago

Bump @omus @IanButterworth

DilumAluthge commented 2 weeks ago

I just cut a new release (v2.5.0), and I updated the v2 alias, just so that we can test out the new release process.

We can quickly revert if something breaks.

DilumAluthge commented 2 weeks ago

I also updated the latest alias.

DilumAluthge commented 2 weeks ago

From a quick test (https://github.com/JuliaLang/Example.jl/pull/80), everything seems to be working.