allegro/axion-release-plugin

Deleted files are not committed

Open

#430 aberto em 1 de nov. de 2021

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees)Groovy (161 forks)batch import
bughacktoberfesthelp wanted

Métricas do repositório

Stars
 (628 stars)
Métricas de merge de PR
 (Mesclagem média 27d 8h) (15 fundiu PRs em 30d)

Description

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!

Guia do colaborador