Updated file not saving after a successful put #268
-
I am trying to use dasel from a github action
The output of the dasel put shows the correctly updated yaml file, but then the result of the following dasel query returns the original value, and the file does in fact still contain the original value. What am I doing wrong here? I tried using a simple string replacement task and that is working fine, so definitely something related to my dasel use case.
this works fine, and the file ends up with the replaced string. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Hey @joshuadmatthews, this is a little confusing. The fact that the 2nd dasel command outputs the expected value suggests the file was in-fact updated. Does replacing the action with this make any difference?
|
Beta Was this translation helpful? Give feedback.
-
Hey @joshuadmatthews I've just released a fix for this here: https://github.com/TomWright/dasel/releases/tag/v2.0.2 It'll take a little while for it to be updated in homebrew but you'll be able to download the binaries almost immediately. |
Beta Was this translation helpful? Give feedback.
Hey @joshuadmatthews I've just released a fix for this here: https://github.com/TomWright/dasel/releases/tag/v2.0.2
It'll take a little while for it to be updated in homebrew but you'll be able to download the binaries almost immediately.