-
Notifications
You must be signed in to change notification settings - Fork 664
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
Version bump of 1.2.0 #2931
Version bump of 1.2.0 #2931
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not fix the automated tool?
The automated tool is actually doing the right thing: This is the code:
dumps just spits out a string which is minimized, couldn't find a way to specify not to do that. we could create some custom parser, but this way I thought we would be more consistent and precise. |
Can the tool keep the existing formatting of the file and only touch the relevant piece? (I know it might be challenging, but still worth asking as it is common to have As a hack, I can suggest we use simple regex replacement with toml parsing before and after to ensure that we changed the right line (parse the original version, modify the version, apply the change to the toml file using regex replacement [do NOT dump the parsed toml], parse the new version again and compare the result with the originally patched version of the toml, they should be equal) |
Yep, will do that. |
@frol @bowenwang1996 Here you go, its a dirty hack, but it works: I tried with regexes first, but this seemed like a better simple way of not messing up. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Much cleaner now 😄
This is using the automatic toml update of the version and it unwrapped the dependencies as well. In the future only versions should be updated.