Skip to content

Commit

Permalink
tweak tagger to account for master being called main on acasclient only
Browse files Browse the repository at this point in the history
  • Loading branch information
bffrost committed Jan 16, 2025
1 parent 9caaeeb commit 2942e47
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/tagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ jobs:
else
echo "ACAS_REF=$(echo $INPUT_BRANCH_NAME)" >> $GITHUB_ENV
fi
- name: Modify master to main if this is acasclient
if: ${{ matrix.acas-repo == 'acasclient' }}
run: |
if [ "${{ env.ACAS_REF }}" == "master" ]; then
echo "ACAS_REF=main" >> $GITHUB_ENV
fi
- name: Get the latest commit of ${{ env.ACAS_REF }} and apply tag ${{ github.event.inputs.tag-name }}
uses: actions/github-script@v7
with:
Expand Down

0 comments on commit 2942e47

Please sign in to comment.