Skip to content

Commit

Permalink
cmd(remotes): save new version after upgrading inertia remote (#668)
Browse files Browse the repository at this point in the history
  • Loading branch information
bobheadxi authored Apr 3, 2020
1 parent 8fd4073 commit 04ce64e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/remotes/remotes.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 04ce64e

Please sign in to comment.