Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automate the release process, produce pre-compiled binaries #239

Merged
merged 3 commits into from
Sep 19, 2023

Commits on Sep 18, 2023

  1. Automate the release process, produce pre-compiled binaries

    This PR adds two new CI workflows `release` and `release-on-tag`.
    The release process and artifacts are described in `docs/internal/release.md`,
    so I won't repeat it here.
    
    The other change made in this PR is the addition of `package.rust_version`
    property to `Cargo.toml` of the library crates `marker_api`, `marker_uitest`,
    `marker_utils`.
    
    I was thinking to refactor the layout of the crates in the repo to separate
    the library crates that have a strict MSRV, and the pre-compiled crates that
    depend on the pinned nightly toolchain version (rust-marker#193 (comment)),
    but I decided to do that for now. It's not a big deal, and I don't want to
    extend this PR with even more changes for that.
    
    The scope of this PR doesn't include the code changes in `cargo-marker` to
    make it use the pre-compiled `marker_rustc_driver` from the GitHub release artifacts,
    falling back to `cargo install` if that doesn't work. That should be implemented in
    the scope of rust-marker#238.
    Veetaha committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    2219007 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2023

  1. Adress the second round of review, fix pre-releases, and improve curl…

    … script.
    
    I tested the pre-releases with `1.0.0-rc.1` version and it didn't work because
    the regex didn't include the `.1` part, now it's fixed.
    Veetaha committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    989d3ff View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2629e12 View commit details
    Browse the repository at this point in the history