Skip to content

Commit

Permalink
renamed variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Shlomi Noach committed Mar 6, 2017
1 parent f3ab78e commit 7ada78e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bump_release_version_and_tag
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# - the tag will be pushed to origin (may need fixing)

# Which remote to push the changes to (default origin)
origin=${1:-origin}
remote=${1:-origin}
diff=$(git diff)
rc=$?
if [ $rc != 0 ]; then
Expand Down Expand Up @@ -57,4 +57,4 @@ echo "Adding new tag: $new_tag"
git tag $new_tag
echo "Pushing changes and new tag..."
git push
git push "$origin" $new_tag
git push "$remote" $new_tag

0 comments on commit 7ada78e

Please sign in to comment.