Skip to content

Commit

Permalink
Output created_branch and version even if up-to-date (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
at-wat authored May 23, 2020
1 parent f91491a commit a87e1ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ then
update=true
fi

echo "::set-output name=created_branch::release-${INPUT_VERSION}"
echo "::set-output name=version::${INPUT_VERSION}"

# Setup
echo -e "machine github.com\nlogin ${INPUT_GITHUB_TOKEN}" > ~/.netrc
git config user.name "${INPUT_GIT_USER}"
Expand Down Expand Up @@ -92,8 +95,5 @@ git log ${GITHUB_REF}..HEAD
# Push
git push origin release-${INPUT_VERSION}

echo "::set-output name=created_branch::release-${INPUT_VERSION}"
echo "::set-output name=version::${INPUT_VERSION}"

# Clean-up
cleanup

0 comments on commit a87e1ba

Please sign in to comment.