axion-release-plugin icon indicating copy to clipboard operation
axion-release-plugin copied to clipboard

Unable to run release task for versions 1.18.14+

Open emarques opened this issue 11 months ago • 1 comments

Hi,

Whenever we run release task for the axio-release-plugin versions (1.18.14+) we get the following error:

Could not create task ':couchbase:release'.

[2024-12-04T10:03:20.207Z]    > Cannot set the value of task ':couchbase:release' property 'githubService' of type pl.allegro.tech.build.axion.release.infrastructure.github.GithubService using a provider of type pl.allegro.tech.build.axion.release.infrastructure.github.GithubService.

our gradle config is still the same as before:

scmVersion {
    repository { pushTagsOnly.set(true) }
    tag { 
        prefix.set(project.name)
        versionSeparator.set('-') 
    }
    versionIncrementer "incrementMinor"
    versionCreator { version, position -> getCurrentVersion(version) }
    hooks { post { context -> project.version = getCurrentVersion(context.currentVersion) } }
    checks { aheadOfRemote.set(false) }
}

project.version = project.findProperty("deployVersion") ?: scmVersion.version

emarques avatar Dec 04 '24 10:12 emarques