From 04ce64e63e0312e9de2cd0b245636f19f4696f9f Mon Sep 17 00:00:00 2001 From: Robert Lin Date: Thu, 2 Apr 2020 22:14:12 -0700 Subject: [PATCH] cmd(remotes): save new version after upgrading inertia remote (#668) --- cmd/remotes/remotes.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmd/remotes/remotes.go b/cmd/remotes/remotes.go index 2428205e..f923ad83 100644 --- a/cmd/remotes/remotes.go +++ b/cmd/remotes/remotes.go @@ -517,6 +517,10 @@ https://github.com/ubclaunchpad/inertia/releases for more details.`, if err := sshc.DaemonUp(); err != nil { out.Fatal(err) } + + if err := local.SaveRemote(root.getRemote()); err != nil { + out.Fatal(err) + } }, } upgrade.Flags().String(flagVersion, "", "version of Inertia daemon to spin up")