Skip to content

Commit

Permalink
v1.4.1
Browse files Browse the repository at this point in the history
### Changed
* Update GitHub release workflow to add post to Bluesky social platform

### Fixed
- Set `$OutputFolderPath` variable as Global variable (Fix [#53](#53))
  • Loading branch information
tpcarman committed Dec 1, 2024
1 parent 8d13542 commit 9d57e57
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 2 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,13 @@ jobs:
TWITTER_CONSUMER_API_SECRET: ${{ secrets.TWITTER_CONSUMER_API_SECRET }}
TWITTER_ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }}
TWITTER_ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}
bsky-post:
needs: publish-to-gallery
runs-on: ubuntu-latest
steps:
- uses: zentered/bluesky-post-action@v0.1.0
with:
post: "[New Release] ${{ github.event.repository.name }} ${{ github.event.release.tag_name }}! Check out what's new! ${{ github.event.release.html_url }} #AsBuiltReport #PowerShell"
env:
BSKY_IDENTIFIER: ${{ secrets.BSKY_IDENTIFIER }}
BSKY_PASSWORD: ${{ secrets.BSKY_PASSWORD }}
4 changes: 2 additions & 2 deletions AsBuiltReport.Core.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

# Version number of this module.

ModuleVersion = '1.4.0'
ModuleVersion = '1.4.1'

# Supported PSEditions
# CompatiblePSEditions = 'Desktop'
Expand Down Expand Up @@ -110,7 +110,7 @@
ProjectUri = 'https://github.com/AsBuiltReport/AsBuiltReport.Core'

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

# ReleaseNotes of this module
ReleaseNotes = 'https://raw.githubusercontent.com/AsBuiltReport/AsBuiltReport.Core/master/CHANGELOG.md'
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.4.1] - 2024-12-02

### Changed
* Update GitHub release workflow to add post to Bluesky social platform

### Fixed
- Set `$OutputFolderPath` variable as Global variable (Fix [#53](https://github.com/AsBuiltReport/AsBuiltReport.Core/issues/53))

## [1.4.0] - 2024-03-29

### Added
Expand Down
5 changes: 5 additions & 0 deletions Src/Public/New-AsBuiltReport.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,11 @@ function New-AsBuiltReport {
$Global:ReportConfigFilePath = $ReportConfigFilePath
}

# Set $OutputFolderPath as Global scope
if ($OutputFolderPath) {
$Global:OutputFolderPath = $OutputFolderPath
}

# If StyleFilePath was specified, ensure the file provided in the path exists, otherwise exit with error
if ($StyleFilePath) {
if (-not (Test-Path -Path $StyleFilePath)) {
Expand Down

0 comments on commit 9d57e57

Please sign in to comment.