Releases: mod-posh/GetProjectVersion
v0.0.3.0
Full Changelog: v0.0.2.2...v0.0.3.0
v0.0.2.2
Set-Output has been deprecated, so switched to using env files
Warning: The set-output
command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: GitHub Actions: Deprecating save-state and set-output commands
Full Changelog: v0.0.2.1...v0.0.2.2
v0.0.2.1
There was a problem with accessing the output of the action, this should be resolved with this release.
What's Changed:
-
PowerShell Script (
getprojectversion.ps1
):- Use set-output
Write-Output "::set-output name=Version::$($Version)"
- Use set-output
-
GitHub Action YAML (
action.yml
):- Use set-output
echo "::set-output name=Version::$Version"
- Use set-output
Full Changelog: v0.0.2.0...v0.0.2.1
There was a problem with accessing the output of the action, this should be resolved with this release.
There was a problem with accessing the output of the action, this should be resolved with this release.
What's Changed:
-
PowerShell Script (
getprojectversion.ps1
):- Corrected the variable name for
$Filename
inJoin-Path
. - Ensured
Write-Output
is used instead ofreturn
to properly capture the output for the calling environment.
- Corrected the variable name for
-
GitHub Action YAML (
action.yml
):- Used
echo "Version=$Version" >> $GITHUB_ENV
to correctly set the environment variable for the output in GitHub Actions. - Ensured the PowerShell script path is correctly formatted for cross-platform compatibility by wrapping the path in double quotes.
- Used
Full Changelog: v0.0.1.7...v0.0.2.0
This release includes an update to how output was handled
[0.0.1.7] - 2024-01-18
Warning: The set-output
command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: GitHub Actions: Deprecating save-state and set-output commands
Unsupported
- name: Set output
run: echo "::set-output name={name}::{value}"
Supported
- name: Set output
run: echo "{name}={value}" >> $GITHUB_OUTPUT
What's Changed:
- Updated action.yml with new output format
Full Changelog: v0.0.1.0...v0.0.1.7
Initial Github Action Release
[0.0.1.0] - 2024-01-18
This is the initial release of this action. It can be used to pass the project version to another action in your workflow.