diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 7fb183066c0..910c2da2d79 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -196,7 +196,7 @@ jobs: key: ${{ runner.os }}-dist-${{ hashFiles('package-lock.json') }} - run: | if [[ "${{contains(github.ref, 'hotfix')}} ]]; then - sed -e "s/hotfix/REPLACE|${{ github.ref }}" --in-place release.config.js + sed -e "s|hotfix/REPLACE|${{ github.ref_name }}|" --in-place release.config.js fi - name: Semantic Release env: