allegro/axion-release-plugin

Deleted files are not committed

Open

#430 aperta il 1 nov 2021

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)Groovy (161 fork)batch import
bughacktoberfesthelp wanted

Metriche repository

Star
 (628 star)
Metriche merge PR
 (Merge medio 27g 8h) (15 PR mergiate in 30 g)

Descrizione

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!

Guida contributor