mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 18:07:58 +00:00
Fix regexp to find the repo name (#5751)
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
grv=$(git remote --verbose | grep push)
|
||||
export RUST_LOG=none
|
||||
REPO=$(echo "$grv" | cut -d ' ' -f1 | cut -d$'\t' -f2 | cut -d '/' -f2 | cut -d '.' -f1 | sort | uniq)
|
||||
REPO=$(echo "$grv" | cut -d ' ' -f1 | cut -d$'\t' -f2 | sed 's/.*github.com\/\(.*\)/\1/g' | cut -d '/' -f2 | cut -d '.' -f1 | sort | uniq)
|
||||
echo "[+] Detected repo: $REPO"
|
||||
|
||||
BRANCH=$(git branch --show-current)
|
||||
|
||||
Reference in New Issue
Block a user