Skip to content

Releases: zccrs/git-commit-helper

master

17 Jul 08:51

Choose a tag to compare

master Pre-release
Pre-release
Add debug logging for AUR PKGBUILD patching process

1. Add version calculation debug info (tag, version, commits, hash)
2. Output modified PKGBUILD content for debugging
3. Include download URL and SHA256 in debug output

This will help diagnose AUR publishing issues by showing:
- What version is being calculated
- How PKGBUILD is being modified
- The final PKGBUILD content that will be published

调试输出可以帮助诊断:
- 计算出的版本号是什么
- PKGBUILD是如何被修改的
- 将要发布的最终PKGBUILD内容

为AUR PKGBUILD修改过程添加调试日志

1. 添加版本计算调试信息(标签、版本、提交数、哈希)
2. 输出修改后的PKGBUILD内容用于调试
3. 在调试输出中包含下载URL和SHA256

master

17 Jul 08:44

Choose a tag to compare

master Pre-release
Pre-release
Fix AUR publishing: add force_push and allow_empty_commits options

1. Add force_push: true to handle empty AUR repository case
2. Add allow_empty_commits: true for better reliability
3. Fix 'src refspec master does not match any' error

The error occurs when the AUR repository is empty (first publish)
or when there are branch matching issues. Using force_push allows
the action to create the initial commit and establish the master
branch properly.

修复AUR发布:添加force_push和allow_empty_commits选项

1. 添加force_push: true来处理空AUR仓库的情况
2. 添加allow_empty_commits: true以提高可靠性
3. 修复'src refspec master does not match any'错误

当AUR仓库为空(首次发布)或存在分支匹配问题时会出现此错误。
使用force_push允许action创建初始提交并正确建立master分支。

master

17 Jul 08:42

Choose a tag to compare

master Pre-release
Pre-release
Fix AUR publishing: add force_push and allow_empty_commits options

1. Add force_push: true to handle empty AUR repository case
2. Add allow_empty_commits: true for better reliability
3. Fix 'src refspec master does not match any' error

The error occurs when the AUR repository is empty (first publish)
or when there are branch matching issues. Using force_push allows
the action to create the initial commit and establish the master
branch properly.

修复AUR发布:添加force_push和allow_empty_commits选项

1. 添加force_push: true来处理空AUR仓库的情况
2. 添加allow_empty_commits: true以提高可靠性
3. 修复'src refspec master does not match any'错误

当AUR仓库为空(首次发布)或存在分支匹配问题时会出现此错误。
使用force_push允许action创建初始提交并正确建立master分支。

master

17 Jul 08:36

Choose a tag to compare

master Pre-release
Pre-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

master

17 Jul 08:31

Choose a tag to compare

master Pre-release
Pre-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

master

17 Jul 08:12

Choose a tag to compare

master Pre-release
Pre-release
Bump version to 0.6.0

1. Update version number in Cargo.toml from 0.5.3 to 0.6.0
2. Update version in PKGBUILD for Arch Linux package
3. Add new changelog entries in debian/changelog and RPM spec
4. Document fixes for PKGBUILD variable expansion issue

This release includes the fix for GitHub Actions workflow
that properly handles commit hash variable expansion when
building AUR packages.

版本升级到0.6.0

1. 将Cargo.toml中的版本号从0.5.3更新到0.6.0
2. 更新PKGBUILD中Arch Linux包的版本
3. 在debian/changelog和RPM spec中添加新的更新日志条目
4. 记录PKGBUILD变量展开问题的修复

此版本包含了GitHub Actions工作流的修复,正确处理
构建AUR包时的commit hash变量展开。

master

17 Jul 08:09

Choose a tag to compare

master Pre-release
Pre-release
Bump version to 0.6.0

1. Update version number in Cargo.toml from 0.5.3 to 0.6.0
2. Update version in PKGBUILD for Arch Linux package
3. Add new changelog entries in debian/changelog and RPM spec
4. Document fixes for PKGBUILD variable expansion issue

This release includes the fix for GitHub Actions workflow
that properly handles commit hash variable expansion when
building AUR packages.

版本升级到0.6.0

1. 将Cargo.toml中的版本号从0.5.3更新到0.6.0
2. 更新PKGBUILD中Arch Linux包的版本
3. 在debian/changelog和RPM spec中添加新的更新日志条目
4. 记录PKGBUILD变量展开问题的修复

此版本包含了GitHub Actions工作流的修复,正确处理
构建AUR包时的commit hash变量展开。

master

17 Jul 08:04

Choose a tag to compare

master Pre-release
Pre-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值的问题。

master

17 Jul 07:54
56e728c

Choose a tag to compare

master Pre-release
Pre-release
pre-release-16339355893

Update build.yml

v0.5.3

30 Jun 09:25

Choose a tag to compare

Full Changelog: v0.5.2...v0.5.3