diff --git a/.github/workflows/release-01_branch-check.yml b/.github/workflows/release-01_branch-check.yml index ad35e9623b3..a39c635af39 100644 --- a/.github/workflows/release-01_branch-check.yml +++ b/.github/workflows/release-01_branch-check.yml @@ -9,7 +9,7 @@ on: workflow_dispatch: jobs: - tag_rc: + check_branch: runs-on: ubuntu-latest steps: - name: Checkout sources diff --git a/scripts/ci/github/check-rel-br b/scripts/ci/github/check-rel-br index 5efebeea313..1b49ae62172 100755 --- a/scripts/ci/github/check-rel-br +++ b/scripts/ci/github/check-rel-br @@ -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)