Does anyone have any advice on how to migrate deployment of a pre-existing theme app extension to the new JS based CLI from the old Ruby one? Previously I used shopify extension push along with a .env file that was generated by the CLI tool to deploy the extension. Now when I do that (using the Ruby CLI) the Shopify API will accept the new version, but it doesn’t allow me to set a version number and promote it like it used to. Instead when I get to the release page it just shows me a complaint that I’m not using the right version of the CLI tools. (It does allow me to deploy the updated extension to my development app without needing to version & promote, I just can’t deploy to the production app.) The new CLI tool seems to have a completely different command set than the old one, and I don’t find any commands that seem to be an obvious replacement for extension push and I haven’t been able to find any documentation about how to migrate from one to the other. Any advice would be greatly appreciated.
Hi JulianSch,
Does the app currently have a toml file? If not you can create one which should match any .env file currently in your app (and then you’ll need to remove the .env file). There’s a description of what this process could look like in this Stack Overflow post: https://stackoverflow.com/questions/75057183/how-to-migrate-shopify-theme-app-extension-from-cli-2-0-to-cli-3-0
This is great. Thanks, Liam!