Skip to content

Config file and plugins in the same repo #35

@srt4rulez

Description

@srt4rulez

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

git-semver/git-semver.sh

Lines 350 to 353 in 4a00f79

if [ -f "${DIR_ROOT}/.git-semver" ]
then
FILE_CONF="${DIR_ROOT}/.git-semver"
source "${FILE_CONF}"

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

plugin_dir="${dirs[${i}]}/.git-semver/plugins"

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions