axion-release-plugin
axion-release-plugin copied to clipboard
Deleted files are not committed
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!
Hi @tanvi-zwei! If we allowed people to react on post-release hook, we should not be limiting its capabilities. It looks like an oversight for me, but gonna have to check code history - maybe it was intentional.