From f7ff9736fc4efc58ff7c509dc48262dde1d521df Mon Sep 17 00:00:00 2001 From: Stanislav Seliverstov Date: Wed, 18 Mar 2020 14:30:06 +0300 Subject: [PATCH] next try to fix lerna in gh-action (via #124) --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9e7ea406d..35036154f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,7 +25,7 @@ jobs: CI: true - name: checkout - run: git checkout "${GITHUB_REF:11}" + run: git checkout "$(echo ${{ github.head_ref }} | sed -E 's|refs/[a-zA-Z]+/||')" - name: npm release run: |