Skip to content

Commit

Permalink
Merge pull request #501 from Cypherock/fix/ci-build-on-branch
Browse files Browse the repository at this point in the history
fix (ci): Typo in bash command
  • Loading branch information
ujjwal-cyph authored Apr 10, 2024
2 parents 1729fdb + 6c0e79f commit 35968fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/containerized-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
- name: Build Firmware (${{ inputs.firmware }} - ${{ inputs.target }})
run: |
if [[ "${{ github.ref_type }}" == "tag" ]]; then
export VERSION_TAG=$(echo "${{ github.ref }}" | cut -f 3- -d '/'')
export VERSION_TAG=$(echo "${{ github.ref }}" | cut -f 3- -d '/')
elif [[ "${{ github.ref_type }}" == "branch" ]]; then
export VERSION_TAG=$(echo "${{ github.ref }}" | cut -f 3- -d '/'')
export VERSION_TAG=$(echo "${{ github.ref }}" | cut -f 3- -d '/')
else
# reftype is repository; use default branch
export VERSION_TAG=main
Expand Down

0 comments on commit 35968fc

Please sign in to comment.