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 d99d562 commit 6ebabc6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,16 +133,16 @@ runs:
echo "::warning::No inner release to update !"
exit 0
fi
PARAMS='-t "${FULL_TAG}"'
PARAMS="--title '${FULL_TAG}'"
if ! [[ "`gh repo view --json latestRelease -q .latestRelease.tagName`" = "${FULL_TAG}" ]]; then

Check warning on line 137 in action.yml

View workflow job for this annotation

GitHub Actions / Static tests

137:81 [line-length] line too long (104 > 80 characters)
PARAMS+=' --latest'
fi
if ! [[ "${MINOR_RELEASE_EXISTS}" = '0' ]]; then
echo "Updating minor release ${MINOR_TAG}"
echo "Updating minor release ${MINOR_TAG} with ${PARAMS}"
gh release edit ${MINOR_TAG} ${PARAMS}
fi
# Update major release at the end, so it will become the latest if --latest is used !

Check warning on line 144 in action.yml

View workflow job for this annotation

GitHub Actions / Static tests

144:81 [line-length] line too long (93 > 80 characters)
if ! [[ "${MAJOR_RELEASE_EXISTS}" = '0' ]]; then
echo "Updating major release ${MAJOR_TAG}"
echo "Updating major release ${MAJOR_TAG} with ${PARAMS}"
gh release edit ${MAJOR_TAG} ${PARAMS}
fi

0 comments on commit 6ebabc6

Please sign in to comment.