We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b453437 commit 536aa0fCopy full SHA for 536aa0f
please
@@ -206,8 +206,10 @@ trigger() # $1 = event
206
fi
207
}
208
209
+VCS=${VCS:-github.com}
210
GCFMT="%s (%an)" # git commit log format
-REPO=$(git config --get remote.origin.url | sed -e 's/[email protected]://;s/https:\/\/github.com\///;s/.git//')
211
+REPO=$(git config --get remote.origin.url | sed -e "s/git@$VCS://;s/https:\/\/$VCS\///;s/\.git//")
212
+[[ "$VCS" == *"bitbucket"* ]] && CMT=commits || CMT=commit
213
214
# load events
215
[[ -f ./please.json ]] && eval $(cat ./please.json | jq -r 'to_entries|map("EVENTS[\(.key)]=\"\(.value)\"")|.[]')
0 commit comments