We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6247f6f commit 23909e9Copy full SHA for 23909e9
.github/workflows/release.yml
@@ -107,7 +107,8 @@ jobs:
107
cd "$pkg"
108
PKG_VERSION=$(node -p "require('./package.json').version")
109
if [[ $PKG_VERSION == *"-beta"* ]]; then
110
- PKG_BASE=$(echo $PKG_VERSION | sed 's/-beta.*//')
+ # Remove all beta suffixes (handle multiple -beta occurrences)
111
+ PKG_BASE=$(echo $PKG_VERSION | sed 's/-beta.*$//')
112
npm version $PKG_BASE --no-git-tag-version
113
fi
114
cd -
0 commit comments