Skip to content

Commit

Permalink
fix: support https origin url
Browse files Browse the repository at this point in the history
  • Loading branch information
adhocore committed Sep 27, 2019
1 parent 1b9a12a commit 1ab96c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion please
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ publish-npm()
}
GCFMT="%s (%an)" # git commit log format
REPO=`git config --get remote.origin.url | sed -e 's/git@github.com://;s/.git//'`
REPO=`git config --get remote.origin.url | sed -e 's/git@github.com://;s/https:\/\/github.com\///;s/.git//'`
# argv parsing
while [[ $# -gt 0 ]]
Expand Down

0 comments on commit 1ab96c9

Please sign in to comment.