Skip to content

Commit 2dcfe7c

Browse files
authored
Merge pull request #32 from AsBuiltReport/dev
v0.4.7 public release
2 parents 3f7b657 + 90d87b3 commit 2dcfe7c

6 files changed

Lines changed: 29 additions & 23 deletions

File tree

.github/workflows/Release.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,19 @@ jobs:
2121
shell: pwsh
2222
run: |
2323
Publish-Module -Path ./ -NuGetApiKey ${{ secrets.PSGALLERY_API_KEY }} -Verbose
24-
tweet:
25-
needs: publish-to-gallery
26-
runs-on: ubuntu-latest
27-
steps:
28-
- uses: Eomm/why-don-t-you-tweet@v2
29-
# We don't want to tweet if the repository is not a public one
30-
if: ${{ !github.event.repository.private }}
31-
with:
32-
# GitHub event payload
33-
# https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#release
34-
tweet-message: "[New Release] ${{ github.event.repository.name }} ${{ github.event.release.tag_name }}! Check out what's new! ${{ github.event.release.html_url }} #VMware #SRM #vExpert #AsBuiltReport #PowerShell"
35-
env:
36-
TWITTER_CONSUMER_API_KEY: ${{ secrets.TWITTER_CONSUMER_API_KEY }}
37-
TWITTER_CONSUMER_API_SECRET: ${{ secrets.TWITTER_CONSUMER_API_SECRET }}
38-
TWITTER_ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }}
39-
TWITTER_ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}
24+
# tweet:
25+
# needs: publish-to-gallery
26+
# runs-on: ubuntu-latest
27+
# steps:
28+
# - uses: Eomm/why-don-t-you-tweet@v2
29+
# # We don't want to tweet if the repository is not a public one
30+
# if: ${{ !github.event.repository.private }}
31+
# with:
32+
# # GitHub event payload
33+
# # https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#release
34+
# tweet-message: "[New Release] ${{ github.event.repository.name }} ${{ github.event.release.tag_name }}! Check out what's new! ${{ github.event.release.html_url }} #VMware #SRM #vExpert #AsBuiltReport #PowerShell"
35+
# env:
36+
# TWITTER_CONSUMER_API_KEY: ${{ secrets.TWITTER_CONSUMER_API_KEY }}
37+
# TWITTER_CONSUMER_API_SECRET: ${{ secrets.TWITTER_CONSUMER_API_SECRET }}
38+
# TWITTER_ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }}
39+
# TWITTER_ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}

AsBuiltReport.VMware.SRM.psd1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
RootModule = 'AsBuiltReport.VMware.SRM.psm1'
1313

1414
# Version number of this module.
15-
ModuleVersion = '0.4.6'
15+
ModuleVersion = '0.4.7'
1616

1717
# Supported PSEditions
1818
# CompatiblePSEditions = @()
@@ -27,7 +27,7 @@ Author = 'Jonathan Colon'
2727
# CompanyName = 'ZenPrSolutions'
2828

2929
# Copyright statement for this module
30-
Copyright = '(c) 2023 Jonathan Colon. All rights reserved.'
30+
Copyright = '(c) 2024 Jonathan Colon. All rights reserved.'
3131

3232
# Description of the functionality provided by this module
3333
Description = 'A PowerShell module to generate an as built report on the configuration of VMware SRM.'

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# :arrows_clockwise: VMware SRM As Built Report Changelog
22

3+
## [0.4.7] - 2024-11-07
4+
5+
### Fixed
6+
7+
- Fix empty value bug
8+
39
## [0.4.6] - 2024-11-04
410

511
### Changed

Src/Private/Get-AbrSRMNetworkMapping.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function Get-AbrSRMNetworkMapping {
3535
}
3636

3737
if ($LocalNetworkMappings) {
38-
Section -Style NOTOCHeading3 -ExcludeFromTOC $($ProtectedSiteName) {
38+
Section -Style Heading3 -ExcludeFromTOC $($ProtectedSiteName) {
3939
$OutObj = @()
4040
foreach ($ObjMap in $LocalNetworkMappings) {
4141
$inObj = [Ordered]@{
@@ -67,7 +67,7 @@ function Get-AbrSRMNetworkMapping {
6767
}
6868

6969
if ($RemoteNetworkMappings) {
70-
Section -Style NOTOCHeading3 -ExcludeFromTOC $($RecoverySiteName) {
70+
Section -Style Heading3 -ExcludeFromTOC $($RecoverySiteName) {
7171
$OutObj = @()
7272
foreach ($ObjMap in $RemoteNetworkMappings) {
7373
$inObj = [Ordered]@{

Src/Private/Get-AbrSRMPermission.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function Get-AbrSRMPermission {
3535
BlankLine
3636

3737
if ($LocalVIPermissions) {
38-
Section -Style NOTOCHeading3 -ExcludeFromTOC $($ProtectedSiteName) {
38+
Section -Style Heading3 -ExcludeFromTOC $($ProtectedSiteName) {
3939
$OutObj = @()
4040
foreach ($LocalVIPermission in $LocalVIPermissions) {
4141
Write-PScriboMessage "Discovered SRM Permissions $($LocalVIPermission.Name)."
@@ -63,7 +63,7 @@ function Get-AbrSRMPermission {
6363
}
6464

6565
if ($RemoteVIPermissions) {
66-
Section -Style NOTOCHeading3 -ExcludeFromTOC $($RecoverySiteName) {
66+
Section -Style Heading3 -ExcludeFromTOC $($RecoverySiteName) {
6767
$OutObj = @()
6868
foreach ($RemoteVIPermission in $RemoteVIPermissions) {
6969
Write-PScriboMessage "Discovered SRM Permissions $($RemoteVIPermission.Name)."

Src/Private/SharedUtilsFunctions.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ function ConvertTo-HashToYN {
145145
try {
146146
$result.add($i.Key, (ConvertTo-TextYN $i.Value))
147147
} catch {
148-
Write-PScriboMessage -IsWarning "Unable to process $($i.key) values"
148+
$result.add($i.Key, ($i.Value))
149149
}
150150
}
151151
if ($result) {

0 commit comments

Comments
 (0)