File tree 2 files changed +2
-17
lines changed
shell/AIShell.Integration
2 files changed +2
-17
lines changed Original file line number Diff line number Diff line change @@ -119,22 +119,6 @@ function Start-Build
119
119
Write-Host " `n [Build the AIShell module ...]`n " - ForegroundColor Green
120
120
$aish_module_csproj = GetProjectFile $module_dir
121
121
dotnet publish $aish_module_csproj - c $Configuration - o $module_out_dir
122
-
123
- # Update version for the module manifest file.
124
- $projectUrl = ' https://github.com/PowerShell/ProjectMercury'
125
- $version = (Get-Item $module_out_dir / AIShell.Integration.dll).VersionInfo.ProductVersion
126
- $privateData = " PrivateData = @{ PSData = @{ ProjectUri = '$projectUrl ' } }"
127
- if ($version -match " (.*)-(.*)" ) {
128
- $version = $matches [1 ]
129
- $prerelease = $matches [2 ]
130
- # Put the prerelease tag in private data.
131
- $privateData = " PrivateData = @{ PSData = @{ Prerelease = '$prerelease '; ProjectUri = '$projectUrl ' } }"
132
- }
133
-
134
- $moduleManifest = Get-Content $module_out_dir / AIShell.psd1 - Raw
135
- $moduleManifest = $moduleManifest -replace " ModuleVersion = '.*'" , " ModuleVersion = '$version '"
136
- $moduleManifest = $moduleManifest -replace " }" , " ${privateData} `n }`n "
137
- Set-Content - Path $module_out_dir / AIShell.psd1 - Value $moduleManifest - NoNewline
138
122
}
139
123
140
124
if ($LASTEXITCODE -eq 0 ) {
Original file line number Diff line number Diff line change 1
1
@ {
2
2
RootModule = ' AIShell.psm1'
3
3
NestedModules = @ (" AIShell.Integration.dll" )
4
- ModuleVersion = ' 0. 1.0'
4
+ ModuleVersion = ' 1.0.1 '
5
5
GUID = ' ECB8BEE0-59B9-4DAE-9D7B-A990B480279A'
6
6
Author = ' Microsoft Corporation'
7
7
CompanyName = ' Microsoft Corporation'
13
13
VariablesToExport = ' *'
14
14
AliasesToExport = @ (' aish' , ' askai' , ' fixit' )
15
15
HelpInfoURI = ' https://aka.ms/aishell-help'
16
+ PrivateData = @ { PSData = @ { Prerelease = ' preview1' ; ProjectUri = ' https://github.com/PowerShell/ProjectMercury' } }
16
17
}
You can’t perform that action at this time.
0 commit comments