From a5d66a243691cd1521919807dc5ae0147b50e780 Mon Sep 17 00:00:00 2001 From: Erik Godding Boye Date: Mon, 11 Dec 2023 11:15:38 +0100 Subject: [PATCH] ci(release-please): try manifest only release (#56) --- .github/workflows/release-please.yaml | 9 +++++---- .release-please-manifest.json | 0 release-please-config.json | 1 + 3 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 .release-please-manifest.json diff --git a/.github/workflows/release-please.yaml b/.github/workflows/release-please.yaml index 2c35f2a..d8b1b4a 100644 --- a/.github/workflows/release-please.yaml +++ b/.github/workflows/release-please.yaml @@ -3,13 +3,14 @@ name: Release Please on: workflow_call: inputs: - release-type: - type: string - default: simple config-file: type: string description: path to the release-please config in the repository default: release-please-config.json + manifest-file: + type: string + description: path to the release-please versions manifest + default: .release-please-manifest.json secrets: STATNETT_BOT_APP_ID: required: true @@ -56,5 +57,5 @@ jobs: uses: google-github-actions/release-please-action@a2d8d683f209466ee8c695cd994ae2cf08b1642d # v4.0.1 with: config-file: ${{ inputs.config-file }} - release-type: ${{ inputs.release-type }} + manifest-file: ${{ inputs.manifest-file }} token: ${{ steps.token.outputs.token }} diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 0000000..e69de29 diff --git a/release-please-config.json b/release-please-config.json index 3798d98..d200a93 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -1,4 +1,5 @@ { + "release-type": "simple", "bump-minor-pre-major": true, "bump-patch-for-minor-pre-major": true }