Skip to content

Commit

Permalink
Use git checkout -b
Browse files Browse the repository at this point in the history
056d8f5 used long options but it turns
out git checkout doesn't have a long option for -b.
  • Loading branch information
ekohl committed Jun 30, 2020
1 parent 7b2aacc commit 8e29149
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/release-pr
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ fi

VERSION="$(bundle exec rake module:version)"

git checkout --branch "release-$VERSION"
git checkout -b "release-$VERSION"
git add CHANGELOG.md metadata.json
if [[ -f HISTORY.md ]] ; then
git add HISTORY.md
Expand Down

0 comments on commit 8e29149

Please sign in to comment.