markchalloner / git-semver

Git plugin for Semantic Versioning
MIT License
382 stars 43 forks source link

Config file and plugins in the same repo #35

Open srt4rulez opened 5 years ago

srt4rulez commented 5 years ago

You cannot have both a local config file and a plugins directory in the same repo.

https://github.com/markchalloner/git-semver/blob/4a00f79c3023a76359e94b4606e538eab5b2590e/git-semver.sh#L350-L353

This line above checks for a .git-semver file for the config, while the code below looks for the .git-semver/plugins directory:

https://github.com/markchalloner/git-semver/blob/4a00f79c3023a76359e94b4606e538eab5b2590e/git-semver.sh#L63

Maybe I'm missing something, but you can't have a file be a folder.