Skip to content

Commit

Permalink
fix: release logic for release-please monorepo
Browse files Browse the repository at this point in the history
Signed-off-by: Anthony Rabbito <[email protected]>
  • Loading branch information
anthr76 committed Jul 19, 2024
1 parent e9a491e commit 618ae33
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,16 @@ jobs:
fetch-depth: 0

- name: Dispatch Container Build Actions
if: ${{ steps.release.outputs.paths_released['.'] }}
if: ${{ contains(steps.release.outputs.paths_released, '.') }}
env:
GH_TOKEN: ${{ github.token }}
run: |
gh workflow run publish-image-webhook.yaml --ref ${{ steps.release.outputs['packages/.--tag_name'] }}
gh workflow run publish-image-init.yaml --ref ${{ steps.release.outputs['packages/.--tag_name'] }}
gh workflow run publish-image-webhook.yaml --ref ${{ steps.release.outputs.tag_name }}
gh workflow run publish-image-init.yaml --ref ${{ steps.release.outputs.tag_name }}
- name: Dispatch Helm Action
if: ${{ steps.release.outputs.paths_released['deploy/helm'] }}
if: ${{ contains(steps.release.outputs.paths_released, 'deploy/helm') }}
env:
GH_TOKEN: ${{ github.token }}
run: |
gh workflow run charts-publish-oci.yaml --ref${{ steps.release.outputs['packages/deploy/helm--tag_name'] }}
gh workflow run charts-publish-oci.yaml --ref ${{ steps['release'].outputs['deploy/helm--tag_name'] }}

0 comments on commit 618ae33

Please sign in to comment.