allegro/axion-release-plugin

The plugin cannot detect changes in the repository (difference between 1.13.3 -> 1.13.4)

开放

#550 创建于 2022年11月4日

 (0 条评论) (0 个反应) (0 位负责人)Groovy (161 个派生)batch import
bughelp wanted

仓库指标

星标
 (628 个星标)
PR 合并指标
 (平均合并 2天 7小时) (30 天内合并 8 个 PR)

描述

I have a simple multi project build. I have a "root-project" that includes a "secondary-project". I would like to use the version of the "secondary-project". I used the repository.directory option:

scmVersion {
    repository {
        directory = new File(pathToSecondaryProject)
    }
}

With v1.13.3, it can detect that there are new commits in secondary-project and properly increments the version, but this doesn't work in newer versions, starting with 1.13.4: it gives me the version from the latest tag, without increasing. Setting ignoreUncommittedChanges = false, detects properly the uncommitted changes though. I looked at the commits but can't figure out what could cause the difference. Thank you!

贡献者指南