===========================
===========================
Tool: | Version: |
---|---|
SFDX-CLI |
===========================
Our first goal is to set up a developer project which we'll use to modify our application. It starts by cloning the repository. Use the command ...
git clone https://github.com/developerforce/PermSetUnlockedPackage
… or ...
git clone git@github.com:developerforce/PermSetUnlockedPackage
… to clone the repository. Then, open the directory.
cd PermSetUnlockedPackage
Log into your Dev Hub org.
sfdx force:auth:web:login -d -a DevHub
Proceed to log in with your dev hub credentials.
If you already have an authorized Dev Hub, set it as the default:
sfdx force:config:set defaultdevhubusername=<username|alias>
sfdx force:org:create -s -f config/project-scratch-def.json
sfdx force:source:push
sfdx force:org:open
sfdx force:org:pull
sfdx force:package:version:create -p packageName -d force-app -k test1234 --wait 10 -v DevHub
After installing the package into a scratch org and testing it out, next you release the package!
sfdx force:package:version:promote -p packageName@1.0.0-1 -v DevHub
===========================
For details on using sfdx-simple, please review the Salesforce DX Developer Guide.