diff --git a/.github/workflows/gh-release.yaml b/.github/workflows/gh-release.yaml index 94216d13..7314097f 100644 --- a/.github/workflows/gh-release.yaml +++ b/.github/workflows/gh-release.yaml @@ -46,7 +46,7 @@ jobs: fi # this will be the NPM dist-tag - GIT_ID=$(echo "${REF}" | sed 's/[^a-zA-Z0-9_-]/-/g') + GIT_ID=$(echo "${REF}" | sed 's/[^a-zA-Z0-9-]/-/g') # run 'lerna version' to get next prerelease yarn -s lerna version prerelease --no-git-tag-version --preid $GIT_ID --ignore-scripts --exact --yes diff --git a/.github/workflows/npm-publish-canary.yaml b/.github/workflows/npm-publish-canary.yaml index 93d57dde..f630dda4 100644 --- a/.github/workflows/npm-publish-canary.yaml +++ b/.github/workflows/npm-publish-canary.yaml @@ -55,7 +55,7 @@ jobs: fi # this will be the NPM dist-tag - GIT_ID=$(echo "${REF}" | sed 's/[^a-zA-Z0-9_-]/-/g') + GIT_ID=$(echo "${REF}" | sed 's/[^a-zA-Z0-9-]/-/g') # run 'lerna version' to get next prerelease yarn -s lerna version prerelease --no-git-tag-version --preid $GIT_ID --ignore-scripts --exact --yes