Skip to content

Commit

Permalink
Fix variable name (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
at-wat authored Jan 4, 2020
1 parent 3ac7c17 commit 23e55a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ then
fi

# Check duplication
if ! git ls-remote --exit-code origin ${version}
if ! git ls-remote --exit-code origin ${INPUT_VERSION}
then
echo "Release already exists. Nothing to do." >&2
exit 0
fi

update=false
if ! git ls-remote --exit-code origin release-${version}
if ! git ls-remote --exit-code origin release-${INPUT_VERSION}
then
echo "Release candidate branch already exists. Updating." >&2
update=true
Expand Down

0 comments on commit 23e55a3

Please sign in to comment.