sfdx force:org:create -s -f config/project-scratch-def.json -a bkp-setup --durationdays 30
sfdx force:org:create -s -f config/project-scratch-def.json -a doesitwork release=Preview
sfdx config:set apiVersion=51.0 sfdx config:list sfdx force:org:create -s -f config/project-scratch-def.json -a oldversion
sfdx force:package:install --wait 10 --publishwait 10 --package "m4a-logging" sfdx force:package:install --wait 10 --publishwait 10 --package "Email to Case Premium" sfdx force:package:install --wait 10 --publishwait 10 --package "Data Privacy Manager" sfdx force:package:install --wait 10 --publishwait 10 --package "m4a-common-meta-pkg" sfdx force:package:install --wait 10 --publishwait 10 --package "m4a-product-lov" --noprompt
sfdx force:source:deploy -m datacategorygroup:EBS_Toolbox sfdx force:source:deploy -m datacategorygroup:ERP_Cloud_Toolbox sfdx force:source:deploy -m datacategorygroup:Article_Types
Case origin & status is weird, does not get installed correctly by the metadata package. Go to the metdata package, switch to this scratch org, and do this:
sfdx force:source:deploy -m StandardValueSet:CaseReason sfdx force:source:deploy -m StandardValueSet:CaseStatus
Need to push with Ignore Warnings so that we don't get "Occasionally, when deployed to a destination org, ID values can become invalid..." errors
sfdx force:source:push -g
sfdx force:source:pull -f