Skip to content

Commit

Permalink
chore: ignore component for release tag and make release dependable (#…
Browse files Browse the repository at this point in the history
…564)

Signed-off-by: Kavindu Dodanduwa <kavindudodanduwa@gmail.com>
  • Loading branch information
Kavindu-Dodan authored Nov 29, 2023
1 parent e231787 commit 5ac4be3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
".": {
"release-type": "go",
"package-name": "operator",
"include-component-in-tag": false,
"draft": false,
"prerelease": false,
"bump-minor-pre-major": true,
Expand Down

0 comments on commit 5ac4be3

Please sign in to comment.