From 66c79b6bc9b13dee1864f3041715956ea7e7acd2 Mon Sep 17 00:00:00 2001 From: Pei-Ming Wu Date: Thu, 20 May 2021 00:36:00 +0800 Subject: [PATCH] ci: remove incorrect precheck in extract version step --- .github/workflows/draft-new-release.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/draft-new-release.yaml b/.github/workflows/draft-new-release.yaml index 4fbe3eb..6148930 100644 --- a/.github/workflows/draft-new-release.yaml +++ b/.github/workflows/draft-new-release.yaml @@ -13,7 +13,6 @@ jobs: - uses: actions/checkout@v2 - name: Extract version from branch name - if: startsWith(github.event.pull_request.head.ref, 'release/') run: | BRANCH_NAME=${GITHUB_REF#refs/heads/} VERSION=${BRANCH_NAME#release/}