Open alex-way opened 2 months ago
In 0.18.0 there's a new extended format for versioned_files
that looks like {path = "some/path", dependency = "name-of-package"}
so we can update more types of versions in more places.
Right now, it only supports updating a crate within a Cargo.toml
file, but I think it could work for docker-compose.yml
as well 🤔.
Can you give an example of a file with a version you'd want to update? Part of the trouble I can see coming is that Docker tags are not usually just the version number, they often have a prefix, like v1.2.3
, so we might need a bit more flexibility still.
It would be great if we could support docker-compose.yml files more natively.
At the moment I'm needing to do a crude
sed
command to replace the version manually as part of a secondary workflow step.The only issue is that the current configuration of
versioned_files
which takes a list of strings I don't think will work. The main reason being is that you'd need some kind've additional information to detail which images/services within the docker-compose file you want to update/manage.Perhaps #482 is the answer?