Skip to content

Commit

Permalink
Commit from GitHub Actions (Create Powershell modules from script files)
Browse files Browse the repository at this point in the history
  • Loading branch information
plzm committed Apr 17, 2024
1 parent 6f2dc0f commit 3199499
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
6 changes: 3 additions & 3 deletions modules/plzm.Azure/plzm.Azure.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Generated by: Patrick El-Azem
#
# Generated on: 03/14/2024
# Generated on: 04/17/2024
#

@{
Expand All @@ -12,13 +12,13 @@
RootModule = '.\modules\plzm.Azure\plzm.Azure.psm1'

# Version number of this module.
ModuleVersion = '2.1'
ModuleVersion = '2.2'

# Supported PSEditions
# CompatiblePSEditions = @()

# ID used to uniquely identify this module
GUID = '0bcb4f70-0028-4525-ae85-0df7ed367cff'
GUID = '6923ed40-81bd-4e16-b880-5d9886c145d7'

# Author of this module
Author = 'Patrick El-Azem'
Expand Down
12 changes: 8 additions & 4 deletions modules/plzm.Azure/plzm.Azure.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -4134,12 +4134,16 @@ function Get-TagsForArmTemplate()
{
$tagKVArray = $tagKVPair.Split("=")
$tagsObject[$tagKVArray[0]] = $tagKVArray[1]

$tagsForArm = ConvertTo-Json -InputObject $tagsObject -Compress
$tagsForArm = $tagsForArm.Replace('"', '''')
$tagsForArm = "`"$tagsForArm`""
}
}

$tagsForArm = ConvertTo-Json -InputObject $tagsObject -Compress
$tagsForArm = $tagsForArm.Replace('"', '''')
$tagsForArm = "`"$tagsForArm`""
else
{
$tagsForArm = $null
}

return $tagsForArm
}
Expand Down

0 comments on commit 3199499

Please sign in to comment.