Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yoanm committed Aug 26, 2024
1 parent c0d7de8 commit da35e37
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 @@ -133,7 +133,7 @@ runs:
FULL_TAG: ${{ inputs.tag }}
MINOR_TAG: ${{ steps.generate-tags.outputs.minor }}
MAJOR_TAG: ${{ steps.generate-tags.outputs.major }}
LATEST_MODE: ${{ inputs.inner-releases-as-latest == 'auto' && 2 || (inputs.inner-releases-as-latest == 'true' && 1 || 0) }})
LATEST_MODE: ${{ inputs.inner-releases-as-latest }}
working-directory: ${{ inputs.working-directory }}
run: |
# Update inner releases
Expand All @@ -144,7 +144,7 @@ runs:
exit 0
fi
PARAMS="--title ${FULL_TAG}"
if [[ "${LATEST_MODE}" = "1" || ( "${LATEST_MODE}" = "2" && "`gh repo view --json latestRelease -q .latestRelease.tagName`" = "${FULL_TAG}" ) ]]; then
if [[ "${LATEST_MODE}" = "true" || ( "${LATEST_MODE}" = "auto" && "`gh repo view --json latestRelease -q .latestRelease.tagName`" = "${FULL_TAG}" ) ]]; then

Check warning on line 147 in action.yml

View workflow job for this annotation

GitHub Actions / Static tests

147:121 [line-length] line too long (164 > 120 characters)
PARAMS+=' --latest'
fi
if ! [[ "${MINOR_RELEASE_EXISTS}" -eq 0 ]]; then
Expand Down

0 comments on commit da35e37

Please sign in to comment.