Skip to content

Commit c914f85

Browse files
committed
Publishing new version
1 parent a92b67f commit c914f85

2 files changed

Lines changed: 11 additions & 8 deletions

File tree

build/powershell/readme.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,14 @@ TestID Start Duration Success Error
170170

171171
## Building and publishing the module
172172

173+
> Important: Install the prerequisites for build first
174+
175+
```Powershell
176+
./build/powershell/Install-Prerequisites.ps1
177+
Install-Module -Name PackageManagement -Repository PSGallery -Force -AllowClobber
178+
Install-Module -Name PowerShellGet -Repository PSGallery -Force -AllowClobber
179+
```
180+
173181
### Create a preview build
174182

175183
To build the module, run the following command from the root. This auto increments the version number.

src/powershell/ZeroTrustAssessment.psd1

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
RootModule = 'ZeroTrustAssessment.psm1'
1313

1414
# Version number of this module.
15-
ModuleVersion = '2.1.8'
15+
ModuleVersion = '2.3.0'
1616

1717
# Supported PSEditions
1818
CompatiblePSEditions = 'Core', 'Desktop'
@@ -71,12 +71,7 @@ FormatsToProcess = 'ZeroTrustAssessment.format.ps1xml'
7171
# NestedModules = @()
7272

7373
# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
74-
FunctionsToExport = 'Connect-ZtAssessment', 'Disconnect-ZtAssessment',
75-
'Get-ZtExportStatistics', 'Get-ZtGraphScope', 'Get-ZtTest',
76-
'Get-ZtTestStatistics', 'Invoke-ZtAssessment',
77-
'Invoke-ZtGraphRequest', 'Invoke-ZtAzureRequest',
78-
'Invoke-ZtAzureResourceGraphRequest', 'Clear-ZtRequiredModule',
79-
'Get-ZtCurrentLicense'
74+
FunctionsToExport = @('Clear-ZtRequiredModule','Connect-ZtAssessment','Disconnect-ZtAssessment','Get-ZtCurrentLicense','Get-ZtExportStatistics','Get-ZtGraphScope','Get-ZtTest','Get-ZtTestStatistics','Invoke-ZtAssessment','Invoke-ZtAzureRequest','Invoke-ZtAzureResourceGraphRequest','Invoke-ZtGraphRequest')
8075

8176
# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
8277
CmdletsToExport = @()
@@ -139,7 +134,7 @@ PrivateData = @{
139134
# ReleaseNotes = ''
140135

141136
# Prerelease string of this module
142-
Prerelease = 'preview'
137+
Prerelease = ''
143138

144139
# Flag to indicate whether the module requires explicit user acceptance for install/update/save
145140
# RequireLicenseAcceptance = $false

0 commit comments

Comments
 (0)