From 5fe94ccc3911d33ae59c804dafcef22f4ad0e3a2 Mon Sep 17 00:00:00 2001 From: Willem Olding Date: Sun, 23 Jul 2023 14:00:29 +1000 Subject: [PATCH] adds relase plz and configuration --- .github/workflows/release-plz.yml | 27 +++++++++++++++++++++++++++ release-plz.toml | 7 +++++++ 2 files changed, 34 insertions(+) create mode 100644 .github/workflows/release-plz.yml create mode 100644 release-plz.toml diff --git a/.github/workflows/release-plz.yml b/.github/workflows/release-plz.yml new file mode 100644 index 0000000..50130ed --- /dev/null +++ b/.github/workflows/release-plz.yml @@ -0,0 +1,27 @@ +name: Release-plz + +permissions: + pull-requests: write + contents: write + +on: + push: + branches: + - release + +jobs: + release-plz: + name: Release-plz + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: Install Rust toolchain + uses: dtolnay/rust-toolchain@stable + - name: Run release-plz + uses: MarcoIeni/release-plz-action@v0.5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} diff --git a/release-plz.toml b/release-plz.toml new file mode 100644 index 0000000..9a1cece --- /dev/null +++ b/release-plz.toml @@ -0,0 +1,7 @@ +[workspace] +semver_check = false # disable API breaking changes checks + +[[package]] +name = "cannon-test" +git_release_enable = false +publish = false