Skip to content

Commit

Permalink
Merge pull request #49 from hathora/gp/warn-to-upgrade-for-builds-v3
Browse files Browse the repository at this point in the history
add warning to upgrade for buildv3
  • Loading branch information
gwprice115 authored Sep 17, 2024
2 parents da148f9 + c21d2a2 commit 361a9a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/commands/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ func handleNewVersionAvailable(currentVersion string) {

prefixedVersion := "go" + currentVersion
showLatest := false
zap.L().Warn("Upgrade to CLI v1.0.0+ required. Builds/deployments created via this version are not supported on earlier versions. Update now to ensure full compatibility.")
if !version.IsValid(prefixedVersion) {
zap.L().Warn("You are using a development version of the hathora cli.")
showLatest = true
Expand Down

0 comments on commit 361a9a5

Please sign in to comment.