Skip to content

Commit

Permalink
[skip ci] Added sf commands & new managed package version ID to READM…
Browse files Browse the repository at this point in the history
…E.md and sfdx-project.json
  • Loading branch information
jongpie committed Jun 28, 2023
1 parent 1ab5d8b commit 6df8a4f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 9 deletions.
18 changes: 12 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,21 @@ The most robust logger for Salesforce. Works with Apex, Lightning Components, Fl
[![Install Unlocked Package in Production](./images/btn-install-unlocked-package-production.png)](https://login.salesforce.com/packaging/installPackage.apexp?p0=04t5Y0000023SI6QAM)
[![View Documentation](./images/btn-view-documentation.png)](https://jongpie.github.io/NebulaLogger/)

`sfdx package install --wait 20 --security-type AdminsOnly --package 04t5Y0000023SI6QAM`
`sf package install --wait 20 --security-type AdminsOnly --package 04t5Y0000023SI6QAM`

## Managed Package - v4.10.0
`sfdx force:package:install --wait 20 --securitytype AdminsOnly --package 04t5Y0000023SI6QAM`

[![Install Managed Package in a Sandbox](./images/btn-install-managed-package-sandbox.png)](https://test.salesforce.com/packaging/installPackage.apexp?mgd=true&p0=04t5Y0000015nWeQAI)
[![Install Managed Package in Production](./images/btn-install-managed-package-production.png)](https://login.salesforce.com/packaging/installPackage.apexp?mgd=true&p0=04t5Y0000015nWeQAI)
[![View Milestone](./images/btn-view-managed-package-milestone.png)](https://github.com/jongpie/NebulaLogger/milestone/10?closed=1)
---

## Managed Package - v4.11.0

[![Install Managed Package in a Sandbox](./images/btn-install-managed-package-sandbox.png)](https://test.salesforce.com/packaging/installPackage.apexp?mgd=true&p0=04t5Y0000023SI1QAM)
[![Install Managed Package in Production](./images/btn-install-managed-package-production.png)](https://login.salesforce.com/packaging/installPackage.apexp?mgd=true&p0=04t5Y0000023SI1QAM)
[![View Milestone](./images/btn-view-managed-package-milestone.png)](https://github.com/jongpie/NebulaLogger/milestone/11?closed=1)

`sf package install --wait 30 --security-type AdminsOnly --package 04t5Y0000023SI1QAM`

`sfdx package install --wait 30 --security-type AdminsOnly --package 04t5Y0000015nWeQAI`
`sfdx force:package:install --wait 20 --securitytype AdminsOnly --package 04t5Y0000023SI1QAM`

---

Expand Down
2 changes: 1 addition & 1 deletion nebula-logger/managed-package/sfdx-project.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@
"Nebula Logger - Managed Package@4.7.0-spring-22-release": "04t5Y0000015lXNQAY",
"Nebula Logger - Managed Package@4.8.0-summer-22-release": "04t5Y0000015lsgQAA",
"Nebula Logger - Managed Package@4.9.0-winter-23-release": "04t5Y0000023R28QAE",
"Nebula Logger - Managed Package@4.10.0-spring-23-release": "04t5Y0000015nWeQAI"
"Nebula Logger - Managed Package@4.10.0-spring-23-release": "04t5Y0000023SI1QAM"
}
}
6 changes: 4 additions & 2 deletions scripts/build/create-and-install-package-version.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,10 @@ function Update-README-Package-Version-Id {
((Get-Content -path $targetreadme -Raw) -replace "btn-install-unlocked-package-sandbox.png\)\]\(https:\/\/test.salesforce.com\/packaging\/installPackage.apexp\?p0=.{0,18}", $sandboxUnlockedPackageReplacement) | Set-Content -Path $targetreadme -NoNewline
$productionUnlockedPackageReplacement = "btn-install-unlocked-package-production.png)](https://login.salesforce.com/packaging/installPackage.apexp?p0=$packageVersionId"
((Get-Content -path $targetreadme -Raw) -replace "btn-install-unlocked-package-production.png\)\]\(https:\/\/login.salesforce.com\/packaging\/installPackage.apexp\?p0=.{0,18}", $productionUnlockedPackageReplacement) | Set-Content -Path $targetreadme -NoNewline
$sfdxUnlockedPackageReplacement = "sfdx package install --wait 20 --security-type AdminsOnly --package $packageVersionId"
((Get-Content -path $targetreadme -Raw) -replace "sfdx package install --wait 20 --security-type AdminsOnly --package .{0,18}", $sfdxUnlockedPackageReplacement) | Set-Content -Path $targetreadme -NoNewline
$sfUnlockedPackageReplacement = "sf package install --wait 20 --security-type AdminsOnly --package $packageVersionId"
((Get-Content -path $targetreadme -Raw) -replace "sf package install --wait 20 --security-type AdminsOnly --package .{0,18}", $sfUnlockedPackageReplacement) | Set-Content -Path $targetreadme -NoNewline
$sfdxUnlockedPackageReplacement = "sfdx force:package:install --wait 20 --securitytype AdminsOnly --package $packageVersionId"
((Get-Content -path $targetreadme -Raw) -replace "sfdx force:package:install --wait 20 --securitytype AdminsOnly --package .{0,18}", $sfdxUnlockedPackageReplacement) | Set-Content -Path $targetreadme -NoNewline
}

function Install-Package-Version {
Expand Down

0 comments on commit 6df8a4f

Please sign in to comment.