Skip to content
This repository was archived by the owner on Jun 30, 2022. It is now read-only.

Commit bf53c3b

Browse files
authored
Various release fixes (update script, capitalization) (#1967)
* removed lowercase resource files * added uppercase resource files * updated capitalization in va template * updated skill test proj bot.builder version * updated update_cog_models script to include luisgen * updated lu files * updated va and skills samples/templates * updated skills package versions
1 parent 23776f7 commit bf53c3b

File tree

55 files changed

+191
-146
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+191
-146
lines changed

skills/src/csharp/automotiveskill/automotiveskill/AutomotiveSkill.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.5.1" />
2828
<PackageReference Include="Microsoft.Bot.Builder.Integration.ApplicationInsights.Core" Version="4.5.1" />
2929
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.5.1" />
30-
<PackageReference Include="Microsoft.Bot.Builder.Skills" Version="4.5.2" />
31-
<PackageReference Include="Microsoft.Bot.Builder.Solutions" Version="4.5.2" />
30+
<PackageReference Include="Microsoft.Bot.Builder.Skills" Version="4.5.3" />
31+
<PackageReference Include="Microsoft.Bot.Builder.Solutions" Version="4.5.3" />
3232
<PackageReference Include="Microsoft.Bot.Builder.TemplateManager" Version="4.5.1" />
3333
<PackageReference Include="Microsoft.Bot.Configuration" Version="4.5.1" />
3434
<PackageReference Include="Microsoft.Bot.Connector" Version="4.5.1" />

skills/src/csharp/automotiveskill/automotiveskill/Deployment/Scripts/update_cognitive_models.ps1

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,12 @@ foreach ($langCode in $languageMap.Keys) {
122122
-region $luisApp.authoringRegion `
123123
-authoringKey $luisApp.authoringKey `
124124
-subscriptionKey $app.subscriptionKey
125+
126+
if ($useLuisGen) {
127+
Write-Host "> Running LuisGen for $($luisApp.id) app ..."
128+
$luPath = $(Join-Path $luisFolder $langCode "$($luisApp.id).lu")
129+
RunLuisGen -lu_file $(Get-Item $luPath) -outName "$($luisApp.id)" -outFolder $lgOutFolder
130+
}
125131
}
126132

127133
# Update each knowledgebase based on local LU files

skills/src/csharp/calendarskill/calendarskill/CalendarSkill.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@
104104
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.5.1" />
105105
<PackageReference Include="Microsoft.Bot.Builder.Integration.ApplicationInsights.Core" Version="4.5.1" />
106106
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.5.1" />
107-
<PackageReference Include="Microsoft.Bot.Builder.Skills" Version="4.5.2" />
108-
<PackageReference Include="Microsoft.Bot.Builder.Solutions" Version="4.5.2" />
107+
<PackageReference Include="Microsoft.Bot.Builder.Skills" Version="4.5.3" />
108+
<PackageReference Include="Microsoft.Bot.Builder.Solutions" Version="4.5.3" />
109109
<PackageReference Include="Microsoft.Bot.Builder.TemplateManager" Version="4.5.1" />
110110
<PackageReference Include="Microsoft.Bot.Configuration" Version="4.5.1" />
111111
<PackageReference Include="Microsoft.Bot.Connector" Version="4.5.1" />

skills/src/csharp/calendarskill/calendarskill/Deployment/Scripts/update_cognitive_models.ps1

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,12 @@ foreach ($langCode in $languageMap.Keys) {
122122
-region $luisApp.authoringRegion `
123123
-authoringKey $luisApp.authoringKey `
124124
-subscriptionKey $app.subscriptionKey
125+
126+
if ($useLuisGen) {
127+
Write-Host "> Running LuisGen for $($luisApp.id) app ..."
128+
$luPath = $(Join-Path $luisFolder $langCode "$($luisApp.id).lu")
129+
RunLuisGen -lu_file $(Get-Item $luPath) -outName "$($luisApp.id)" -outFolder $lgOutFolder
130+
}
125131
}
126132

127133
# Update each knowledgebase based on local LU files

skills/src/csharp/emailskill/emailskill/Deployment/Scripts/update_cognitive_models.ps1

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,12 @@ foreach ($langCode in $languageMap.Keys) {
122122
-region $luisApp.authoringRegion `
123123
-authoringKey $luisApp.authoringKey `
124124
-subscriptionKey $app.subscriptionKey
125+
126+
if ($useLuisGen) {
127+
Write-Host "> Running LuisGen for $($luisApp.id) app ..."
128+
$luPath = $(Join-Path $luisFolder $langCode "$($luisApp.id).lu")
129+
RunLuisGen -lu_file $(Get-Item $luPath) -outName "$($luisApp.id)" -outFolder $lgOutFolder
130+
}
125131
}
126132

127133
# Update each knowledgebase based on local LU files

skills/src/csharp/emailskill/emailskill/EmailSkill.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@
4444
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.5.1" />
4545
<PackageReference Include="Microsoft.Bot.Builder.Integration.ApplicationInsights.Core" Version="4.5.1" />
4646
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.5.1" />
47-
<PackageReference Include="Microsoft.Bot.Builder.Skills" Version="4.5.2" />
48-
<PackageReference Include="Microsoft.Bot.Builder.Solutions" Version="4.5.2" />
47+
<PackageReference Include="Microsoft.Bot.Builder.Skills" Version="4.5.3" />
48+
<PackageReference Include="Microsoft.Bot.Builder.Solutions" Version="4.5.3" />
4949
<PackageReference Include="Microsoft.Bot.Builder.TemplateManager" Version="4.5.1" />
5050
<PackageReference Include="Microsoft.Bot.Configuration" Version="4.5.1" />
5151
<PackageReference Include="Microsoft.Bot.Connector" Version="4.5.1" />

skills/src/csharp/experimental/bingsearchskill/bingsearchskill/BingSearchSkill.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@
7575
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.5.1" />
7676
<PackageReference Include="Microsoft.Bot.Builder.Integration.ApplicationInsights.Core" Version="4.5.1" />
7777
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.5.1" />
78-
<PackageReference Include="Microsoft.Bot.Builder.Skills" Version="4.5.2" />
79-
<PackageReference Include="Microsoft.Bot.Builder.Solutions" Version="4.5.2" />
78+
<PackageReference Include="Microsoft.Bot.Builder.Skills" Version="4.5.3" />
79+
<PackageReference Include="Microsoft.Bot.Builder.Solutions" Version="4.5.3" />
8080
<PackageReference Include="Microsoft.Bot.Builder.TemplateManager" Version="4.5.1" />
8181
<PackageReference Include="Microsoft.Bot.Configuration" Version="4.5.1" />
8282
<PackageReference Include="Microsoft.Bot.Connector" Version="4.5.1" />

skills/src/csharp/experimental/bingsearchskill/bingsearchskill/Deployment/Scripts/update_cognitive_models.ps1

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,12 @@ foreach ($langCode in $languageMap.Keys) {
122122
-region $luisApp.authoringRegion `
123123
-authoringKey $luisApp.authoringKey `
124124
-subscriptionKey $app.subscriptionKey
125+
126+
if ($useLuisGen) {
127+
Write-Host "> Running LuisGen for $($luisApp.id) app ..."
128+
$luPath = $(Join-Path $luisFolder $langCode "$($luisApp.id).lu")
129+
RunLuisGen -lu_file $(Get-Item $luPath) -outName "$($luisApp.id)" -outFolder $lgOutFolder
130+
}
125131
}
126132

127133
# Update each knowledgebase based on local LU files

skills/src/csharp/experimental/newsskill/Deployment/Scripts/update_cognitive_models.ps1

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,12 @@ foreach ($langCode in $languageMap.Keys) {
122122
-region $luisApp.authoringRegion `
123123
-authoringKey $luisApp.authoringKey `
124124
-subscriptionKey $app.subscriptionKey
125+
126+
if ($useLuisGen) {
127+
Write-Host "> Running LuisGen for $($luisApp.id) app ..."
128+
$luPath = $(Join-Path $luisFolder $langCode "$($luisApp.id).lu")
129+
RunLuisGen -lu_file $(Get-Item $luPath) -outName "$($luisApp.id)" -outFolder $lgOutFolder
130+
}
125131
}
126132

127133
# Update each knowledgebase based on local LU files

skills/src/csharp/experimental/newsskill/NewsSkill.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.5.1" />
1717
<PackageReference Include="Microsoft.Bot.Builder.Integration.ApplicationInsights.Core" Version="4.5.1" />
1818
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.5.1" />
19-
<PackageReference Include="Microsoft.Bot.Builder.Skills" Version="4.5.2" />
20-
<PackageReference Include="Microsoft.Bot.Builder.Solutions" Version="4.5.2" />
19+
<PackageReference Include="Microsoft.Bot.Builder.Skills" Version="4.5.3" />
20+
<PackageReference Include="Microsoft.Bot.Builder.Solutions" Version="4.5.3" />
2121
<PackageReference Include="Microsoft.Bot.Builder.TemplateManager" Version="4.5.1" />
2222
<PackageReference Include="Microsoft.Bot.Configuration" Version="4.5.1" />
2323
<PackageReference Include="Microsoft.Bot.Connector" Version="4.5.1" />

0 commit comments

Comments
 (0)