From 38920db7b81ad393359d133f411fa758ff8040d7 Mon Sep 17 00:00:00 2001 From: Wilfried Kopp Date: Fri, 5 Aug 2022 11:30:16 +0200 Subject: [PATCH] Same than https://github.com/paritytech/polkadot/pull/5751 --- .github/workflows/release-01_branch-check.yml | 2 +- scripts/ci/github/check-rel-br | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)