Skip to content

Commit

Permalink
Updated Auto Tag workflow (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
ibexa-yuna authored Sep 6, 2023
1 parent 9bd58e6 commit 0927d54
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/auto_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:
jobs:
preparation:
runs-on: ubuntu-latest
# This should allow parallel runs in a chain, e.g. OSS->Content->Experience->Commerce
# This should allow parallel runs in a chain, e.g. OSS->Headless->Experience->Commerce
# whilst allowing Satis to process
timeout-minutes: 30

Expand All @@ -42,12 +42,12 @@ jobs:
# select(.version == "${{ env.V_VERSION }}"): filters the array to only include objects where the version property is equal to the value of the environment variable V_VERSION.

# No need to validate for oss version in satis
- name: Validate satis for content version
- name: Validate satis for headless version
if: github.event.repository.name == 'experience'
env:
SATIS_NETWORK_KEY: ${{ secrets.SATIS_NETWORK_KEY }}
SATIS_NETWORK_TOKEN: ${{ secrets.SATIS_NETWORK_TOKEN }}
PARENT: ibexa/content
PARENT: ibexa/headless
V_VERSION: v${{ inputs.version }}
run: |
for EXPONENTIAL_BACKOFF in {1..10}; do
Expand Down Expand Up @@ -140,11 +140,11 @@ jobs:
if: github.event.repository.name == 'oss'
run: jq '.require["ibexa/admin-ui-assets"] |= "${{ inputs.version }}"' composer.json | sponge composer.json
- name: Patch parent version for Content
if: github.event.repository.name == 'content'
if: github.event.repository.name == 'headless'
run: jq '.require["ibexa/oss"] |= "${{ inputs.version }}"' composer.json | sponge composer.json
- name: Patch parent version for Experience
if: github.event.repository.name == 'experience'
run: jq '.require["ibexa/content"] |= "${{ inputs.version }}"' composer.json | sponge composer.json
run: jq '.require["ibexa/headless"] |= "${{ inputs.version }}"' composer.json | sponge composer.json
- name: Patch parent version for Commerce
if: github.event.repository.name == 'commerce'
run: jq '.require["ibexa/experience"] |= "${{ inputs.version }}"' composer.json | sponge composer.json
Expand Down

0 comments on commit 0927d54

Please sign in to comment.