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
contains/includes #352
Comments
I am looking for the same, however I can't get it to work even with the verbose example in this file: {
"plugins": [
[
"@semantic-release/git",
{
"assets": ["README.md", "here/is/some-other-file.yml"],
}
],
"@semantic-release/gitlab"
]
} I would expect the following to return dasel -f .releaserc -r json '.plugins.all().filter(equal(type(),array)).[1].as
sets.all().filter(equal(.,"README.md"))' But it returns nothing. The goal is to figure out if in this case |
@rhtenhove This is pretty convoluted but does what you need. I do want to include some functionality to simplify this a lot.
Essentially filter out any non |
It would be nice to have some higher level functions like
includes(x) = filter(equal(.,x))
The text was updated successfully, but these errors were encountered: