diff --git a/action.yml b/action.yml index 087ac51..60e5677 100644 --- a/action.yml +++ b/action.yml @@ -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 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 ! 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