axion-release-plugin
axion-release-plugin copied to clipboard
Warn on shallow clone
CI servers typically do a shallow clone by default without the complete history.
Especially Gitlab CI clones by default the last 20 commits which makes this plugin work as expected when testing and then suddenly stopping working when there are more then 20 commits.
It would be helpful to show a big warning or even refuse to work when .git/shallow
exists to fail as early as possilbe.
@david0 this is a cool idea, you're welcome to make a PR :)
Can I try?
@SaketKaswa20 sure!