Skip to content

Commit

Permalink
Removed old sfdx commands in README.md - now only sf commands are pro…
Browse files Browse the repository at this point in the history
…vided
  • Loading branch information
jongpie committed Nov 7, 2024
1 parent 533faa1 commit 0547a8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ The most robust observability solution for Salesforce experts. Built 100% native

`sf package install --wait 20 --security-type AdminsOnly --package 04t5Y0000015ocbQAA`

`sfdx force:package:install --wait 20 --securitytype AdminsOnly --package 04t5Y0000015ocbQAA`

---

## Managed Package - v4.15.0
Expand All @@ -25,8 +23,6 @@ The most robust observability solution for Salesforce experts. Built 100% native

`sf package install --wait 30 --security-type AdminsOnly --package TODO_MANAGED_PACKAGE`

`sfdx force:package:install --wait 30 --securitytype AdminsOnly --package TODO_MANAGED_PACKAGE`

---

> [!NOTE]
Expand Down
6 changes: 2 additions & 4 deletions scripts/build/create-and-install-package-version.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -115,15 +115,13 @@ function Update-README-Package-Version-Id {
)

$packageVersionId = "$packageVersionId".Trim()
# Since there are links for both the unlocked & managed packages, the unlocked package buttons & sfdx command are used to ensure the correct package version ID is updated
# Since there are links for both the unlocked & managed packages, the unlocked package buttons & sf commands are used to ensure the correct package version ID is updated
$sandboxUnlockedPackageReplacement = "btn-install-unlocked-package-sandbox.png)](https://test.salesforce.com/packaging/installPackage.apexp?p0=$packageVersionId"
((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
$sfUnlockedPackageReplacement = "sf package install --wait 20 --security-type AdminsOnly --package $packageVersionId"
$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 0547a8a

Please sign in to comment.