File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ if [ -z $ISSUE ]; then
10
10
fi
11
11
12
12
TOKEN=` cat token`
13
- REPO_URL=` curl -H " Authorization: token $TOKEN " -s -f https://api.github.com/repos/$REPO /issues/$ISSUE | jq -r .body | tr " \\ r\\ n" " " | egrep -o ' https?://[^ )]+' | head -n1 | sed -r ' s/[/]releases[/].*//' | sed -r ' s/.+\\]\\(//' | sed -r ' s/[,./]$//' | sed -r ' s/.git$//' ` .git
13
+ REPO_URL=` curl -H " Authorization: token $TOKEN " -s -f https://api.github.com/repos/$REPO /issues/$ISSUE | jq -r .body | tr " \\ r\\ n" " " | egrep -o ' https?://[^ )]+' | head -n1 | sed -r ' s/[/]releases[/].*//' | sed -r ' s/[/]tree[/].*// ' | sed -r ' s/ .+\\]\\(//' | sed -r ' s/[,./]$//' | sed -r ' s/.git$//' ` .git
14
14
15
15
echo Detected repo url is: $REPO_URL
16
16
echo Press enter to continue
You can’t perform that action at this time.
0 commit comments