Skip to content

rework release.yml #3090

Backlog
Backlog

Description

@eoinest

We should split release.yml into release.yml and version.yml. version.yml handles the creation of the release PR and release.yml handles the publication of the package. We can maybe rename release.yml to publish.yml instead later, because we would have to update some publishing configurations.

I was inspired by paraglide's setup: https://github.com/generaltranslation/paraglide-js which I think is much cleaner. The only difference is that when publish.yml/release.yml runs when the release PR gets merged.

Probably goes without saying, but we should keep prerelease logic as well.

Activity

  1. pullfrog commented on Dec 1, 2026

    @pullfrog
    Contributor
  2. linear-code commented on Dec 1, 2026

    @linear-code
  3. chenxin-yan commented on Dec 2, 2026

    @chenxin-yan
    Contributor

    or we can just have release.yml but two different jobs and have a job called select-mode to sepect between publishing and versioning. check out my setup in crust's repo here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions