Skip to content
Get started

Roll back and unpublish

View as Markdown

Every revision you publish stays in the network. Rolling back is assigning an earlier one again. Unpublishing ends an assignment, and the revision stays to assign later.

Terminal window
mk revisions --network my-network

It shows what runs where, since when and by whom, and the network’s revisions, newest first.

Terminal window
mk publish --network my-network --revision 5d2e7b18f0a1

--revision assigns an earlier revision again, to the same selectors as a publish. The id as mk revisions prints it is enough. The servers swap back while players stay connected.

Terminal window
mk unpublish --network my-network -l channel=canary

mk unpublish ends the assignment of a selector. The servers it picked stop those bundles and keep what other assignments give them. The revision stays in the network.

Was this helpful?