Skip to content

master

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 17 Jul 08:04
· 42 commits to master since this release
Fix variable expansion in PKGBUILD modification

1. Change single quotes to double quotes in sed command to allow
   shell variable expansion
2. Properly escape dollar signs with triple backslashes for sed
3. Ensure commit_hash variable value is correctly substituted
   instead of literal string

This fixes the issue where ${commit_hash} was being inserted
as literal text rather than the actual commit hash value when
modifying PKGBUILD for AUR publishing.

修复PKGBUILD修改中的变量展开问题

1. 将sed命令中的单引号改为双引号以允许shell变量展开
2. 使用三重反斜杠正确转义美元符号
3. 确保commit_hash变量值被正确替换而不是字面量字符串

这修复了在为AUR发布修改PKGBUILD时,${commit_hash}被插入
为字面文本而不是实际commit hash值的问题。