Skip to content

Commit b523bba

Browse files
authored
Publish unlisted package to ACR (#243)
1 parent 7b8e5d3 commit b523bba

File tree

1 file changed

+6
-0
lines changed
  • Ev2Specs/ServiceGroupRoot/Shell/Run

1 file changed

+6
-0
lines changed

Ev2Specs/ServiceGroupRoot/Shell/Run/Run.ps1

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,14 @@ try {
6464

6565
#Publish SecretManagement to ACR
6666
Write-Verbose -Verbose "Publish SecretManagement $secretManagementFileName to ACR $env:DESTINATION_ACR_NAME"
67+
68+
# public
6769
$prefix = "public/psresource"
6870
Publish-PSResource -Repository $env:DESTINATION_ACR_NAME -NupkgPath $secretManagementFileName -ModulePrefix $prefix -Confirm:$false
71+
72+
# unlisted
73+
$prefix = "unlisted/psresource"
74+
Publish-PSResource -Repository $env:DESTINATION_ACR_NAME -NupkgPath $secretManagementFileName -ModulePrefix $prefix -Confirm:$false
6975
}
7076
catch {
7177

0 commit comments

Comments
 (0)