allegro/axion-release-plugin

Deleted files are not committed

Open

#430 geöffnet am 1. Nov. 2021

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Groovy (161 Forks)batch import
bughacktoberfesthelp wanted

Repository-Metriken

Stars
 (628 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 27T 8h) (15 gemergte PRs in 30 T)

Beschreibung

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!

Contributor Guide