Skip to content

Commit

Permalink
Merge pull request #36 from nicgrayson/master
Browse files Browse the repository at this point in the history
update output syntax
  • Loading branch information
shogo82148 authored Dec 3, 2022
2 parents 425a06a + 79f704a commit e184f8e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ fi

if [ -z "${BUMP_LEVEL}" ]; then
echo "PR with labels for bump not found. Do nothing."
echo "::set-output name=skip::true"
echo "skip=true" >> "$GITHUB_OUTPUT"
exit
fi
echo "Bump ${BUMP_LEVEL} version"
Expand Down Expand Up @@ -143,11 +143,11 @@ if [ -z "${NEXT_VERSION}" ]; then
echo "Cannot find next version."
exit 1
fi
echo "::set-output name=current_version::${CURRENT_VERSION}"
echo "::set-output name=next_version::${NEXT_VERSION}"
echo "current_version=${CURRENT_VERSION}" >> "$GITHUB_OUTPUT"
echo "next_version=${NEXT_VERSION}" >> "$GITHUB_OUTPUT"

TAG_MESSAGE="${NEXT_VERSION}: PR #${PR_NUMBER} - ${PR_TITLE}"
echo "::set-output name=message::${TAG_MESSAGE}"
echo "message=${TAG_MESSAGE}" >> "$GITHUB_OUTPUT"

if [ "${INPUT_DRY_RUN}" = "true" ]; then
echo "DRY_RUN=true. Do not tag next version."
Expand Down

0 comments on commit e184f8e

Please sign in to comment.