From 5ac4be3a24f73f1b66346840a3084f1ff5030627 Mon Sep 17 00:00:00 2001 From: Kavindu Dodanduwa Date: Wed, 29 Nov 2023 12:25:01 -0800 Subject: [PATCH] chore: ignore component for release tag and make release dependable (#564) Signed-off-by: Kavindu Dodanduwa --- .github/workflows/release-please.yml | 8 ++++---- release-please-config.json | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index e32cd8aae..b714db94b 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -40,9 +40,9 @@ jobs: release_tag_name: ${{ steps.release.outputs.tag_name }} build-oci: - permissions: - packages: write # to push the container image needs: release-please + permissions: + packages: write # to push the container image runs-on: ubuntu-22.04 if: ${{ needs.release-please.outputs.release_created }} steps: @@ -106,9 +106,9 @@ jobs: if: ${{ env.DRY_RUN != 'true' }} release-assets: + needs: build-oci permissions: contents: write # for softprops/action-gh-release to create GitHub release - needs: release-please runs-on: ubuntu-22.04 if: ${{ needs.release-please.outputs.release_created }} steps: @@ -141,7 +141,7 @@ jobs: open-feature-operator-sbom.spdx.json release-charts: - needs: release-please + needs: release-assets permissions: contents: write runs-on: ubuntu-22.04 diff --git a/release-please-config.json b/release-please-config.json index 8f99af073..253e4a755 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -16,6 +16,7 @@ ".": { "release-type": "go", "package-name": "operator", + "include-component-in-tag": false, "draft": false, "prerelease": false, "bump-minor-pre-major": true,