Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Fix #32 again, since yq arguments have changed #34

Merged
merged 1 commit into from
Sep 30, 2023

Conversation

DaVarga
Copy link
Contributor

@DaVarga DaVarga commented Sep 30, 2023

Seems like the updated yq version has different arguments. Hence we got following error.

Error: unknown shorthand flag: 'y' in -y
Usage:
  yq [flags]
  yq [command]

Examples:

# yq defaults to 'eval' command if no command is specified. See "yq eval --help" for more examples.

# read the "stuff" node from "myfile.yml"
yq '.stuff' < myfile.yml

# update myfile.yml in place
yq -i '.stuff = "foo"' myfile.yml

# print contents of sample.json as idiomatic YAML
yq -P sample.json

Im using the -i option from yq to update the image-tag inside the docker-compose.yml in place.

@thetredev thetredev merged commit af12230 into thetredev:main Sep 30, 2023
@thetredev
Copy link
Owner

Thanks, that's much cleaner.

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

Successfully merging this pull request may close these issues.

2 participants