-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpublish script.ps1
35 lines (27 loc) · 887 Bytes
/
publish script.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
$containername = 'BC-Latest'
$appname = 'Installation-process-for-BC-Apps'
$tenant = 'default'
$version = '2.0.0.0'
$appfilename = "Default publisher_" + $appname + "_" + $version + ".app"
Publish-NavContainerApp -containerName $containername `
-appFile $appfilename `
-install `
-skipVerification `
-sync `
-tenant $tenant
UnPublish-NavContainerApp -containerName $containername `
-appName $appname `
-unInstall `
-version $version `
-tenant $tenant
UnInstall-NavContainerApp -containerName $containername `
-tenant $tenant `
-appName $appname
Install-NavContainerApp -containerName $containername `
-tenant $tenant `
-appName $appname
Start-NavContainerAppDataUpgrade -containerName $containername `
-appName $appname
Sync-NavContainerApp -containerName $containername `
-appName $appname `
-tenant $tenant