Skip to content

unable to release because of local modifications #19

@Jorik1977

Description

@Jorik1977

When I try to release under Windows 7x64 with following configuration:

release {
failOnSnapshotDependencies = true
allowLocalModifications = false
releaseDryRun = false
scm = 'git'
username = gitUser
password = gitPassword
}

I receive allways:

"Uncommited changes found in the source tree"

Of course, there are no changes :)

Is the logic hier:

def boolean hasLocalModifications() {
    gitExec(['status', '--porcelain']) != ""
}

correct?

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