Skip to content

Commit da4ab0e

Browse files
authored
adding commit requirements (#16)
# Pull Request ## Description Adding publishing required files. ## License By submitting this pull request, I confirm that my contribution is made under the terms of the projects associated license.
1 parent 3875c70 commit da4ab0e

File tree

6 files changed

+14
-10
lines changed

6 files changed

+14
-10
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![ActionsTest-Windows-pwsh-Build](https://github.com/Azure/ALZ-PowerShell-Module/actions/workflows/wf_Windows_Core.yml/badge.svg?branch=main)](https://github.com/Azure/ALZ-PowerShell-Module/actions/workflows/wf_Windows_Core.yml)
44
[![license](https://img.shields.io/badge/License-MIT-purple.svg)](LICENSE)
55

6-
![Logo](./docs/ALZLogo-Small.png)
6+
![Logo](./docs/ALZLogo.png)
77

88
## Synopsis
99

docs/ALZLogo.png

162 KB
Loading

docs/rsz_alzlogo.png

10.3 KB
Loading

src/ALZ/ALZ.psd1

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,14 @@
102102

103103
PSData = @{
104104

105+
Name = "ALZ"
106+
105107
# Tags applied to this module. These help with module discovery in online galleries.
106-
# Tags = @()
108+
Tags = @(
109+
'Azure'
110+
'LandingZones'
111+
'ALZ'
112+
)
107113

108114
# A URL to the license for this module.
109115
LicenseUri = 'https://github.com/Azure/ALZ-PowerShell-Module/blob/initial_module_config/LICENSE'
@@ -112,13 +118,13 @@
112118
ProjectUri = 'https://github.com/Azure/ALZ-Powershell-Module'
113119

114120
# A URL to an icon representing this module.
115-
# IconUri = ''
121+
IconUri = 'https://raw.githubusercontent.com/Azure/ALZ-PowerShell-Module/main/docs/rsz_alzlogo.png?token=GHSAT0AAAAAACAOIZ6NBDR7MPRSCNBS3RQUZA4IYUQ'
116122

117123
# ReleaseNotes of this module
118-
# ReleaseNotes = ''
124+
ReleaseNotes = 'Thsi is the first release of the ALZ PowerShell Module. This module is currently in preview and is subject to change.'
119125

120126
# Prerelease string of this module
121-
# Prerelease = ''
127+
Prerelease = 'beta'
122128

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

src/ALZ/Public/New-ALZEnvironment.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function New-ALZEnvironment {
4242

4343
if ($alzIacProvider -eq "terraform") {
4444
Write-InformationColored "Terraform is not yet supported." -ForegroundColor Red -InformationAction Continue
45-
return $false
45+
return
4646
}
4747

4848
if ($PSCmdlet.ShouldProcess("ALZ-Bicep module configuration", "modify")) {
@@ -68,5 +68,5 @@ function New-ALZEnvironment {
6868
}
6969
}
7070

71-
return $true
71+
return
7272
}

src/Tests/Unit/Public/New-ALZEnvironment.Tests.ps1

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,7 @@ InModuleScope 'ALZ' {
7474
}
7575

7676
It 'should return the output directory on completion' {
77-
$result = New-ALZEnvironment
78-
$result | Should -Be $true
79-
77+
New-ALZEnvironment
8078
Assert-MockCalled -CommandName Edit-ALZConfigurationFilesInPlace -Exactly 1
8179
}
8280

0 commit comments

Comments
 (0)