Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yoanm committed Aug 25, 2024
1 parent d05c416 commit 8d3b84c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ runs:
working-directory: ${{ inputs.working-directory }}
run: |
# Update inner releases
MINOR_RELEASE_EXISTS="$( (gh release view ${MINOR_TAG} --json id -q .id | wc -l) || 0 )"
MAJOR_RELEASE_EXISTS="$( (gh release view ${MAJOR_TAG} --json id -q .id | wc -l) || 0 )"
MINOR_RELEASE_EXISTS="$( (gh release view ${MINOR_TAG} --json id -q .id | wc -l) || echo 0 )"
MAJOR_RELEASE_EXISTS="$( (gh release view ${MAJOR_TAG} --json id -q .id | wc -l) || echo 0 )"
if [[ "${MINOR_RELEASE_EXISTS}${MAJOR_RELEASE_EXISTS}" = '00' ]]; then
echo "::warning::No inner release to update !"
exit 0
Expand Down

0 comments on commit 8d3b84c

Please sign in to comment.