diff --git a/.github/workflows/release-plz.yml b/.github/workflows/release-plz.yml index d63ebbc9e..580c31aec 100644 --- a/.github/workflows/release-plz.yml +++ b/.github/workflows/release-plz.yml @@ -25,10 +25,12 @@ jobs: fetch-depth: 0 - name: Install Rust toolchain uses: dtolnay/rust-toolchain@stable - - name: Run release-plz - uses: release-plz/action@v0.5 - with: - command: release + # Using fork until semver_check_features support is released upstream. + # See: https://github.com/release-plz/release-plz/pull/2757 + - name: Install release-plz from fork + run: cargo install --git https://github.com/DaleSeo/release-plz --branch feat/semver-check-features release-plz + - name: Run release-plz release + run: release-plz release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} @@ -51,10 +53,12 @@ jobs: fetch-depth: 0 - name: Install Rust toolchain uses: dtolnay/rust-toolchain@stable - - name: Run release-plz - uses: release-plz/action@v0.5 - with: - command: release-pr + # Using fork until semver_check_features support is released upstream. + # See: https://github.com/release-plz/release-plz/pull/2757 + - name: Install release-plz from fork + run: cargo install --git https://github.com/DaleSeo/release-plz --branch feat/semver-check-features release-plz + - name: Run release-plz release-pr + run: release-plz release-pr env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} \ No newline at end of file diff --git a/release-plz.toml b/release-plz.toml new file mode 100644 index 000000000..edc1647d5 --- /dev/null +++ b/release-plz.toml @@ -0,0 +1,5 @@ +[[package]] +name = "rmcp" +# Only check default features for semver compatibility. +# The `local` feature intentionally changes the API surface. +semver_check_features = ["default"]