Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor fix to commit script to support https. #877

Merged
merged 1 commit into from
Nov 4, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/commit-pr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ push_url=$(git remote show origin | grep Push | awk '{ print $3 }')

# is origin pointing at the correct repo?
ec=0
if [ $fetch_url != "git@github.com:bigdatagenomics/adam.git" ] || [ $fetch_url != "https://github.com/bigdatagenomics/adam.git" ]
if [ $fetch_url != "git@github.com:bigdatagenomics/adam.git" ] && [ $fetch_url != "https://github.com/bigdatagenomics/adam.git" ]
then
echo "Fetch URL doesn't point at ADAM: ${fetch_url}"
ec=1
fi
if [ $push_url != "git@github.com:bigdatagenomics/adam.git" ] || [ $push_url != "https://github.com/bigdatagenomics/adam.git" ]
if [ $push_url != "git@github.com:bigdatagenomics/adam.git" ] && [ $push_url != "https://github.com/bigdatagenomics/adam.git" ]
then
echo "Push URL doesn't point at ADAM: ${push_url}"
ec=1
Expand Down