Conversation
git-cliff 在 v0.8.0 release.yml 中因 "^chore\(release\)" 双引号字符串内的 \( 不是合法 TOML 转义而失败。改用单引号 TOML literal string 原样保留正则。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
修复 v0.8.0 release.yml 失败
问题
v0.8.0tag 推送后release.yml在生成 commit 附录step 失败:```
Error: ConfigError(TOML parse error at line 36, column 23
36 | { message = "^chore(release)", skip = true },
| ^
missing escaped value, expected `b`, `f`, `n`, `r`, `\
, \"`, `u`, `U````
TOML 双引号字符串只允许
\b \f \n \r \ \" \u \U等转义,不允许\(。修复
该行改用 TOML 字面量字符串(单引号),原样保留正则:
```diff
```
后续动作
本 PR 合并后,由于 v0.8.0 还未创建 GitHub Release(无外部引用),将删除并在新 main HEAD 上重打 v0.8.0 触发完整发版流程。
类型
ci:(CI 配置修复,不影响产品行为,无需更新 CHANGELOG)