Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run release task for versions 1.18.14+ #871

Open
emarques opened this issue Dec 4, 2024 · 1 comment
Open

Unable to run release task for versions 1.18.14+ #871

emarques opened this issue Dec 4, 2024 · 1 comment

Comments

@emarques
Copy link

emarques commented Dec 4, 2024

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
@panchenko
Copy link

panchenko commented Dec 11, 2024

I have also encountered this issue in a multi-module project.

Seems to be caused by gradle/gradle#17559
Workaround gradle/gradle#17559 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants