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

Problem with labelFilter argument #123

Open
vat78 opened this issue Apr 27, 2023 · 2 comments
Open

Problem with labelFilter argument #123

vat78 opened this issue Apr 27, 2023 · 2 comments

Comments

@vat78
Copy link

vat78 commented Apr 27, 2023

Hello!
I tried to add labelFilter value to the liquibase.activities.main but it was converted to '--label-filter' and failed the update.

My build.gradle looks like:

liquibase {
    activities {
        main {
            changelogFile "./root-changelog.yml"
            url "jdbc:postgresql:localhost:5432/test"
            ....
            labelFilter "init"
        }
    }
}

The result of running the update job:
Unexpected argument(s): --label-filter=init

Version of the gradle plugin is 2.2.0, gradle 8.1, openjdk 17

@eric-creekside
Copy link

eric-creekside commented Aug 3, 2023

@vat78 did you ever find a resolution to this?
A workaround seems to be to use labels which is an alias for labelFilter in recent versions of Liquibase.

@stevesaliman
Copy link
Collaborator

Version 3.0.0 of the plugin completely overhauled the way the plugin configures tasks. Is this still an issue with the latest version?

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

3 participants