From 9993bfa45ee27f187e4483be47643cfd80d80820 Mon Sep 17 00:00:00 2001 From: Wilfried Kopp Date: Fri, 5 Aug 2022 10:46:53 +0200 Subject: [PATCH 1/2] Fix templates --- .github/ISSUE_TEMPLATE/release-client.md | 4 ++-- .github/ISSUE_TEMPLATE/release-runtime.md | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/release-client.md b/.github/ISSUE_TEMPLATE/release-client.md index 016f0a4c0b1..bb7f2061576 100644 --- a/.github/ISSUE_TEMPLATE/release-client.md +++ b/.github/ISSUE_TEMPLATE/release-client.md @@ -1,7 +1,7 @@ --- -name: Release Checklist for Client - issue template +name: Release Checklist for Client about: Release Checklist for Client -title: Release Checklist - Client {{ env.VERSION }} +title: Release Checklist for Client {{ env.VERSION }} --- # Release Checklist - Client diff --git a/.github/ISSUE_TEMPLATE/release-runtime.md b/.github/ISSUE_TEMPLATE/release-runtime.md index 25157a82806..1eaea55590e 100644 --- a/.github/ISSUE_TEMPLATE/release-runtime.md +++ b/.github/ISSUE_TEMPLATE/release-runtime.md @@ -1,7 +1,7 @@ --- -name: Release issue template -about: Tracking issue for new releases -title: Cumulus {{ env.VERSION }} Release checklist +name: Release Checklist for Runtime +about: Release Checklist for Runtime +title: Release Checklist for Runtime {{ env.VERSION }} --- # Release Checklist - Runtimes From e6ac3747b3fdba67c7009f6eac0159519aae017d Mon Sep 17 00:00:00 2001 From: Wilfried Kopp Date: Fri, 5 Aug 2022 11:30:16 +0200 Subject: [PATCH 2/2] 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)