diff --git a/.github/workflows/gh-release.yaml b/.github/workflows/gh-release.yaml index 5f99b30c..52c92184 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 b8fea1fe..0790fa81 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