Skip to content

Commit

Permalink
fix: bad var name
Browse files Browse the repository at this point in the history
  • Loading branch information
angusbayley committed Nov 1, 2024
1 parent 1409a06 commit 40e1210
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/release-prepare-hotfix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
id: format-app-tag
run: |
if [ ${{ github.event.inputs.tag_version }} = 'latest' ]; then
ref="main"
main_ref="main"
else
if [ "${{ github.event.inputs.application }}" = "LLM" ]; then
formatted_app="live-mobile"
Expand All @@ -52,10 +52,10 @@ jobs:
echo "Unknown application"
exit 1
fi
ref="${formatted_app}@${{ github.event.inputs.tag_version }}"
main_ref="${formatted_app}@${{ github.event.inputs.tag_version }}"
fi
echo "main_ref=$ref" >> $GITHUB_ENV
echo "main_ref=$main_ref" >> $GITHUB_ENV
echo "Formatted application and tag version: $main_ref"
- name: Checkout repo (main branch)
Expand All @@ -64,12 +64,6 @@ jobs:
ref: ${{ env.main_ref }}
token: ${{ steps.generate-token.outputs.token }}

- name: Checkout Repo (develop branch)
uses: actions/checkout@v4
with:
ref: develop
fetch-depth: 1

- name: Setup git user
uses: ./tools/actions/composites/setup-git-user

Expand Down

0 comments on commit 40e1210

Please sign in to comment.