BUG: upgrade messing output in deployment files
Describe the bug
When inspecting a deployment and saving the output to a file, the CLI is including the upgrade message. With the included upgrade message, deployment updates using the deployment file error out.
A newer version of Astro CLI is available: 1.25.0
Please update to the latest version using 'brew upgrade astro'
If you don't want to see this message again run 'astro config set -g upgrade_message false'
When trying to update a deployment, the below error is returned:
Error: error converting YAML to JSON: yaml: line 5: could not find expected ':'
What CLI Version did you experience this bug? 1.24.1
This CLI bug is related to which Astronomer Platform?
- [x] Astro
- [ ] Software
- [ ] None/Unknown
What Operating System is the above CLI installed on? MAC
🪜 Steps To Reproduce
astro deployment inspect <deploymentId> > depl.yaml
astro deployment update --deployment-file depl.yaml
📸 Screenshots
we need to make sure this message is not shown when a user is logged in with an API key or token. It would also be nice if this message was not shown when the --clean-output flag is used
@chomipi88 I merged the PR with this fix. Fix will be released next week as part of 1.27.0