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 2c2380e commit 6fc7f13Copy full SHA for 6fc7f13
.github/workflows/release.yml
@@ -55,7 +55,8 @@ jobs:
55
- name: Generate preview version
56
if: github.event.inputs.version == 'next'
57
run: |
58
- SAFE_BRANCH=$(echo "${{ github.ref_name }}" | sed 's/[^a-zA-Z0-9-]/-/g')
+ # 清理分支名中的特殊字符并处理大小写
59
+ SAFE_BRANCH=$(echo "${{ github.ref_name }}" | sed 's/[^a-zA-Z0-9-]/-/g' | tr '[:upper:]' '[:lower:]')
60
npx changeset version --snapshot "$SAFE_BRANCH"
61
62
- name: Build and test Packages
0 commit comments