Skip to content

Commit 37d88f7

Browse files
authored
Merge pull request #54 from AsBuiltReport/dev
v1.4.1
2 parents 8d13542 + 9d57e57 commit 37d88f7

File tree

4 files changed

+25
-2
lines changed

4 files changed

+25
-2
lines changed

.github/workflows/Release.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,13 @@ jobs:
4141
TWITTER_CONSUMER_API_SECRET: ${{ secrets.TWITTER_CONSUMER_API_SECRET }}
4242
TWITTER_ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }}
4343
TWITTER_ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}
44+
bsky-post:
45+
needs: publish-to-gallery
46+
runs-on: ubuntu-latest
47+
steps:
48+
- uses: zentered/[email protected]
49+
with:
50+
post: "[New Release] ${{ github.event.repository.name }} ${{ github.event.release.tag_name }}! Check out what's new! ${{ github.event.release.html_url }} #AsBuiltReport #PowerShell"
51+
env:
52+
BSKY_IDENTIFIER: ${{ secrets.BSKY_IDENTIFIER }}
53+
BSKY_PASSWORD: ${{ secrets.BSKY_PASSWORD }}

AsBuiltReport.Core.psd1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
# Version number of this module.
1515

16-
ModuleVersion = '1.4.0'
16+
ModuleVersion = '1.4.1'
1717

1818
# Supported PSEditions
1919
# CompatiblePSEditions = 'Desktop'
@@ -110,7 +110,7 @@
110110
ProjectUri = 'https://github.com/AsBuiltReport/AsBuiltReport.Core'
111111

112112
# A URL to an icon representing this module.
113-
IconUri = 'https://raw.githubusercontent.com/AsBuiltReport/AsBuiltReport/master/AsBuiltReport.png'
113+
IconUri = 'https://github.com/AsBuiltReport.png'
114114

115115
# ReleaseNotes of this module
116116
ReleaseNotes = 'https://raw.githubusercontent.com/AsBuiltReport/AsBuiltReport.Core/master/CHANGELOG.md'

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.4.1] - 2024-12-02
9+
10+
### Changed
11+
* Update GitHub release workflow to add post to Bluesky social platform
12+
13+
### Fixed
14+
- Set `$OutputFolderPath` variable as Global variable (Fix [#53](https://github.com/AsBuiltReport/AsBuiltReport.Core/issues/53))
15+
816
## [1.4.0] - 2024-03-29
917

1018
### Added

Src/Public/New-AsBuiltReport.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,11 @@ function New-AsBuiltReport {
277277
$Global:ReportConfigFilePath = $ReportConfigFilePath
278278
}
279279

280+
# Set $OutputFolderPath as Global scope
281+
if ($OutputFolderPath) {
282+
$Global:OutputFolderPath = $OutputFolderPath
283+
}
284+
280285
# If StyleFilePath was specified, ensure the file provided in the path exists, otherwise exit with error
281286
if ($StyleFilePath) {
282287
if (-not (Test-Path -Path $StyleFilePath)) {

0 commit comments

Comments
 (0)