v1.127.0
cloudposse-releaser
released this
15 Dec 17:53
·
12 commits
to refs/heads/main
since this release
Implement Atmos version check configuration and functionality @Listener430 (#844)
what
- Implement Atmos version check configuration and functionality
- Add the
--check
flag to theatmos version
command to force it to check for the latest Atmos release (regardless of theenabled
flag and the cache config) and print the upgrade message - Add the version config section
version
inatmos.yaml
- Update docs
why
- Remove unnecessary upgrade message for some Atmos commands
- Introduce config mechanism to turn on/off the update notifications and their frequency
- The
--check
flag for theatmos version
command forces it to check for the latest Atmos release (regardless of theenabled
flag and the cache config) and print the upgrade message
atmos version --check
before for non --help command, the Atmos upgrade box was displayed:
Added the version config section in atmos.yaml
:
version:
check:
enabled: true
timeout: 1000 # ms
frequency: 1h
.atmos/cache.yaml
file is generated with time stamp:
and the upgrade box is not displayed until the time interval exceed the specified in the config