8

Summer preview came out Friday, is there a way to select the release you want.

I created a new scratch org and it was set to the version that production is on. Currently, that is Spring '19. I would like to make a scratch org with Summer '19.

2 Answers 2

10

This feature was added in Summer '19 (release notes)

In your scratch org definition file (e.g. project-scratch-def.json)

{
  "orgName": "Example",
  "edition": "Enterprise",
  "release": "Preview"             // Preview, Current or Previous
}    
1
  • @Eddie Any chance you can makr this accepted now?
    – Matt Lacey
    Jan 24, 2020 at 1:06
0

During every major Salesforce release, you have the opportunity to get early access to the release in your scratch orgs and sandboxes to test new customizations and features before your production org is upgraded. This window is called the Salesforce Preview, and scratch orgs created on the upcoming release are called preview scratch orgs.

For more reference : https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_scratch_orgs_version_selection.htm#:~:text=This%20window%20is%20called%20the,version%20as%20the%20Dev%20Hub.

1
  • 3
    This link is valuable, but at present the elements copied do not directly answer the question. Please edit to ensure the question is answered, and make sure to mark any text copied from the documentation as a quote using the editor.
    – David Reed
    May 13, 2021 at 2:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.