Newer Version Available
Release Your App to Production
Now that all your tests have passed in the Full sandbox, you’re ready to deploy to
production.
- In your deployment run list, complete any pre-deployment tasks.
- Authorize your production org.
-
Set up the quick deploy.
1sfdx force:mdapi:deploy --checkonly --zipfile winter19.zip --targetusername production-org \ 2--testlevel RunSpecifiedTests MyTestsThis command returns a job ID that you reference in the quick deploy.
-
Run the quick deploy:
1sfdx force:mdapi:deploy --targetusername production-org --validateddeployrequestid jobID - After the tests are run, verify that all the Apex tests have passed. Be sure that the tests cover at least 75% of the code being deployed.
- Open the production org, then perform any post-deployment tasks listed in the deployment run list.