master
Pre-release
Pre-release
·
39 commits
to master
since this release
Improve AUR version calculation with build numbers
1. Calculate version based on latest tag and commit count
2. Use format: tag_version.r{commit_count}.{short_hash} for commits after tag
3. Use direct tag version when on exact tag
4. Update both pkgver variable and pkgver() function in PKGBUILD
This ensures AUR packages have proper versioning that reflects
the exact commit being built, making it easier to track which
version users have installed.
Example: v0.6.0 + 2 commits = 0.6.0.r2.a1b2c3d
改进AUR版本计算,包含构建号
1. 基于最新tag和提交数量计算版本号
2. 使用格式:tag_version.r{commit_count}.{short_hash} 对于tag后的提交
3. 在精确tag上时使用直接tag版本
4. 在PKGBUILD中同时更新pkgver变量和pkgver()函数
这确保AUR包具有正确的版本控制,反映正在构建的确切提交,
使用户更容易跟踪他们安装的版本。
示例:v0.6.0 + 2个提交 = 0.6.0.r2.a1b2c3d