Mass Instance Version
mass instance version​
Set instance version
Synopsis​
Set instance version
Set the version or release channel for an instance in Massdriver.
Examples​
Set the version for an instance using the slug@version format:
mass instance version api-prod-db@latest
Set the version with a specific release channel:
mass instance version api-prod-db@latest --release-channel development
The slug can be found in the instance info panel. The instance slug is a combination of the <project-slug>-<env-slug>-<manifest-slug>.
Release Channels​
stable(default): Instance receives only stable releasesdevelopment: Instance receives both stable and development releases
Version Format​
The version can be:
- A semantic version (e.g.,
1.2.3) - A version constraint (e.g.,
~1.2,~1) - A release channel (e.g.,
latest)
mass instance version <instance-id>@<version> [flags]
Examples​
mass instance version api-prod-db@latest --release-channel development
Options​
-h, --help help for version
--release-channel string Release strategy (stable or development) (default "stable")
SEE ALSO​
- mass instance - Manage instances of IaC deployed in environments.