allegro/axion-release-plugin

Deleted files are not committed

开放

#430 创建于 2021年11月1日

 (1 条评论) (0 个反应) (0 位负责人)Groovy (161 个派生)batch import
bughacktoberfesthelp wanted

仓库指标

星标
 (628 个星标)
PR 合并指标
 (平均合并 2天 7小时) (30 天内合并 8 个 PR)

描述

Hi, I'm currently trying to modify and delete files in post release hooks. Modifications and additions are committed and pushed successfully. Files are deleted but I cannot manage to commit the deletions. Is there such a possibility to do it in post release hook? If not perhaps it would be possible to add a property 'all' to ScmProperties to propagate it to Git? I mean like this:

boolean isAll = properties.getAll();
jgitRepository.commit().setAll(isAll).setMessage(message).call();

That would be really helpful

Thanks a lot!

贡献者指南