From e1bb4b8d972b79a9391699f84fed4c60bd128312 Mon Sep 17 00:00:00 2001 From: Gustavo Inacio Date: Mon, 14 Oct 2024 22:49:27 +0200 Subject: [PATCH] chore: add release-please Signed-off-by: Gustavo Inacio --- .github/workflows/release-please.yml | 17 +++++++++++++++++ .gitignore | 5 +++-- .release-please-manifest.json | 8 ++++++++ release-please-config.json | 14 ++++++++++++++ 4 files changed, 42 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/release-please.yml create mode 100644 .release-please-manifest.json create mode 100644 release-please-config.json diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml new file mode 100644 index 00000000..d0b9ffcf --- /dev/null +++ b/.github/workflows/release-please.yml @@ -0,0 +1,17 @@ +name: Release please + +on: + push: + branches: + - main + +jobs: + release-please: + permissions: + contents: write + pull-requests: write + runs-on: ubuntu-latest + steps: + - name: Release please + id: release-please + uses: googleapis/release-please-action@v4 diff --git a/.gitignore b/.gitignore index 2402f50d..e98cd07f 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ # Use example Beacon head state file for testing, too large for version control *.json - +!.release-please-manifest.json +!release-please-config.json .env -.DS_Store \ No newline at end of file +.DS_Store diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 00000000..e123711f --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1,8 @@ +{ + "crates/firehose-client": "0.1.0", + "crates/flat-files-decoder": "0.2.0", + "crates/flat-head": "0.1.0", + "crates/forrestrie": "0.1.0", + "crates/header-accumulator": "0.2.0", + "crates/sf-protos": "0.1.0" +} diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 00000000..baf2b522 --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,14 @@ +{ + "$schema": "https://raw.githubusercontent.com/googleapis/release-please/refs/heads/main/schemas/config.json", + "bootstrap-sha": "ba33f662ca04f59eeffa523b220545126cda17ad", + "release-type": "rust", + "plugins": ["cargo-workspace"], + "packages": { + "crates/firehose-client": {}, + "crates/flat-files-decoder": {}, + "crates/flat-head": {}, + "crates/forrestrie": {}, + "crates/header-accumulator": {}, + "crates/sf-protos": {} + } +}