From b20b06d60ee4383784cc6b2d6d90fdfefad0d4e9 Mon Sep 17 00:00:00 2001 From: Wade Wegner Date: Tue, 6 Mar 2018 05:37:51 -0800 Subject: [PATCH] Updated defaults for v4 --- README.md | 6 +++--- setup.sh | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 34decd3..7495b4e 100644 --- a/README.md +++ b/README.md @@ -35,12 +35,12 @@ That's it. Along with the `setup.sh` script you find in this repo, the buildpack 6. Clone the repository locally. -7. Update the values in `setup.sh` accordingly (e.g. `HEROKU_TEAM_NAME`, `HEROKU_APP_NAME`, `DEV_HUB_USERNAME`, `DEV_USERNAME`, `STAGING_USERNAME`, and `PROD_USERNAME`). +7. Update the values in `setup.sh` accordingly (e.g. `HEROKU_TEAM_NAME`, `HEROKU_APP_NAME`, `DEV_HUB_USERNAME`, `DEV_USERNAME`, `STAGING_USERNAME`, `PROD_USERNAME`, `GITHUB_REPO`, and `PACKAGE_NAME`). -8. Create a developer-controlled package: +8. Create an unlocked package: ``` -sfdx force:package2:create -n PipelineSamplePackage - "My package yo" -o Unlocked -e +sfdx force:package2:create -n PackageName - "My package yo" -o Unlocked -e ``` 9. Update the `sfdx-project.json` to use your package ID. diff --git a/setup.sh b/setup.sh index be333ab..06c6abb 100755 --- a/setup.sh +++ b/setup.sh @@ -14,10 +14,10 @@ set -o nounset # fail on unset variables TICKS=$(echo $(date +%s | cut -b1-13)) # Name of your team (optional) -HEROKU_TEAM_NAME="appcloud-dev" +HEROKU_TEAM_NAME="my-heroku-team" # Descriptive name for the Heroku app -HEROKU_APP_NAME="MySuperLightningApp" +HEROKU_APP_NAME="MyLightningApp" # Name of the Heroku apps you'll use HEROKU_DEV_APP_NAME="dev$TICKS" @@ -105,9 +105,9 @@ heroku buildpacks:add -i 1 https://github.com/wadewegner/salesforce-cli-buildpac heroku buildpacks:add -i 1 https://github.com/wadewegner/salesforce-cli-buildpack -a $HEROKU_STAGING_APP_NAME heroku buildpacks:add -i 1 https://github.com/wadewegner/salesforce-cli-buildpack -a $HEROKU_PROD_APP_NAME -heroku buildpacks:add -i 2 https://github.com/wadewegner/salesforce-dx-buildpack#v4-dev -a $HEROKU_DEV_APP_NAME -heroku buildpacks:add -i 2 https://github.com/wadewegner/salesforce-dx-buildpack#v4-dev -a $HEROKU_STAGING_APP_NAME -heroku buildpacks:add -i 2 https://github.com/wadewegner/salesforce-dx-buildpack#v4-dev -a $HEROKU_PROD_APP_NAME +heroku buildpacks:add -i 2 https://github.com/wadewegner/salesforce-dx-buildpack -a $HEROKU_DEV_APP_NAME +heroku buildpacks:add -i 2 https://github.com/wadewegner/salesforce-dx-buildpack -a $HEROKU_STAGING_APP_NAME +heroku buildpacks:add -i 2 https://github.com/wadewegner/salesforce-dx-buildpack -a $HEROKU_PROD_APP_NAME # Create Pipeline # Valid stages: "test", "review", "development", "staging", "production"