From 2bd4bcc5e373e700a1e154893e1167a57499bc49 Mon Sep 17 00:00:00 2001 From: Tim Carman Date: Wed, 19 Oct 2022 13:12:14 +1100 Subject: [PATCH] v1.0.2 release ### Changed * Added new `Token` parameter to support the ability to connect with an API Token * Changed Required Modules to AsBuiltReport.Core v1.2.0 * Removed `StylePath` parameter from `Invoke-AsBuiltReport.Rubrik.CDM.ps1` ### Added * Added GitHub workflow for release actions ### Fixed * Fixes [#21](https://github.com/AsBuiltReport/AsBuiltReport.Rubrik.CDM/issues/21) --- .github/workflows/Release.yml | 3 ++- AsBuiltReport.Rubrik.CDM.psd1 | Bin 9768 -> 9768 bytes CHANGELOG.md | 7 +++++-- .../Invoke-AsBuiltReport.Rubrik.CDM.ps1 | 7 +------ 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index bcb9b91..3b0119d 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -26,6 +26,7 @@ jobs: run: | Publish-Module -Path ./ -NuGetApiKey ${{ secrets.PSGALLERY_API_KEY }} -Verbose tweet: + needs: publish-to-gallery runs-on: ubuntu-latest steps: - uses: Eomm/why-don-t-you-tweet@v1 @@ -34,7 +35,7 @@ jobs: with: # GitHub event payload # https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#release - tweet-message: "[New Release] ${{ github.event.repository.name }} ${{ github.event.release.tag_name }}! Check out what's new! ${{ github.event.release.html_url }} #Rubrik #AsBuiltReport #PowerShell" + tweet-message: "[New Release] ${{ github.event.repository.name }} ${{ github.event.release.tag_name }}! Check out what's new! ${{ github.event.release.html_url }} #Rubrik #AsBuiltReport #PowerShell #DataProtection" env: TWITTER_CONSUMER_API_KEY: ${{ secrets.TWITTER_CONSUMER_API_KEY }} TWITTER_CONSUMER_API_SECRET: ${{ secrets.TWITTER_CONSUMER_API_SECRET }} diff --git a/AsBuiltReport.Rubrik.CDM.psd1 b/AsBuiltReport.Rubrik.CDM.psd1 index eeda9a48dc74edb99e3cfea9ac88d4118a1387b5..4a4dd343f1cd6bac0d113cfe626093dc03b3ab22 100644 GIT binary patch delta 18 acmZ4Cv%+UX3lpQ!=K*jF!d+{06r`Ru>b%7 diff --git a/CHANGELOG.md b/CHANGELOG.md index dabb04c..1fc1f26 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ -# Rubrik CDM As Built Report Changelog +# :arrows_clockwise: Rubrik CDM As Built Report Changelog -## Unreleased +## [1.0.2] - 2022-10-19 ### Changed * Added new `Token` parameter to support the ability to connect with an API Token @@ -10,6 +10,9 @@ ### Added * Added GitHub workflow for release actions +### Fixed +* Fixes [#21](https://github.com/AsBuiltReport/AsBuiltReport.Rubrik.CDM/issues/21) + ## [1.0.1] ### Added diff --git a/Src/Public/Invoke-AsBuiltReport.Rubrik.CDM.ps1 b/Src/Public/Invoke-AsBuiltReport.Rubrik.CDM.ps1 index 410ddca..0dcec16 100644 --- a/Src/Public/Invoke-AsBuiltReport.Rubrik.CDM.ps1 +++ b/Src/Public/Invoke-AsBuiltReport.Rubrik.CDM.ps1 @@ -5,7 +5,7 @@ function Invoke-AsBuiltReport.Rubrik.CDM { .DESCRIPTION Documents the configuration of the Rubrik CDM in Word/HTML/XML/Text formats using PScribo. .NOTES - Version: 1.0.1 + Version: 1.0.2 Author: Mike Preston Twitter: @mwpreston Github: mwpreston @@ -26,11 +26,6 @@ function Invoke-AsBuiltReport.Rubrik.CDM { $InfoLevel = $ReportConfig.InfoLevel $Options = $ReportConfig.Options - # If custom style not set, use default style - if (!$StylePath) { - & "$PSScriptRoot\..\..\AsBuiltReport.Rubrik.CDM.Style.ps1" - } - #region Script Functions #---------------------------------------------------------------------------------------------# # SCRIPT FUNCTIONS #