From 415de680faef57f35711536852e5f99f261552ca Mon Sep 17 00:00:00 2001 From: Oliver Mannion <125105+tekumara@users.noreply.github.com> Date: Tue, 2 May 2023 21:29:07 +1000 Subject: [PATCH] chore: bootstrap releases for . and crates/typos-lsp (#3) Configuring release-please for . and crates/typos-lsp see https://github.com/googleapis/release-please/blob/main/docs/manifest-releaser.md --- .github/workflows/release-please.yml | 3 +-- .release-please-manifest.json | 4 ++++ release-please-config.json | 14 ++++++++++++++ 3 files changed, 19 insertions(+), 2 deletions(-) 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 index 811bea7..6a14aeb 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -26,5 +26,4 @@ jobs: # additional workflows. They'll also be authored by the app. # see https://github.com/google-github-actions/release-please-action#github-credentials token: ${{ steps.app-token.outputs.token }} - release-type: node - package-name: typos-vscode + command: manifest diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 0000000..f8d662e --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1,4 @@ +{ + ".": "0.1.1", + "crates/typos-lsp": "0.1.1" +} diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 0000000..1aa507e --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,14 @@ +{ + "plugins": ["cargo-workspace"], + "bump-minor-pre-major": true, + "bump-patch-for-minor-pre-major": true, + "packages": { + ".": { + "release-type": "node" + }, + "crates/typos-lsp": { + "release-type": "rust" + } + }, + "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json" +}