Skip to content

Releases: mod-posh/GetProjectVersion

v0.0.3.0

07 Feb 21:05
Compare
Choose a tag to compare

v0.0.2.2

18 Jul 05:04
Compare
Choose a tag to compare

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

18 Jul 04:59
Compare
Choose a tag to compare

There was a problem with accessing the output of the action, this should be resolved with this release.

What's Changed:

  1. PowerShell Script (getprojectversion.ps1):

    • Use set-output Write-Output "::set-output name=Version::$($Version)"
  2. GitHub Action YAML (action.yml):

    • Use set-output echo "::set-output name=Version::$Version"

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.

18 Jul 04:49
Compare
Choose a tag to compare

There was a problem with accessing the output of the action, this should be resolved with this release.

What's Changed:

  1. PowerShell Script (getprojectversion.ps1):

    • Corrected the variable name for $Filename in Join-Path.
    • Ensured Write-Output is used instead of return to properly capture the output for the calling environment.
  2. 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.

Full Changelog: v0.0.1.7...v0.0.2.0

This release includes an update to how output was handled

18 Jan 14:57
Compare
Choose a tag to compare

[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:

  1. Updated action.yml with new output format

Full Changelog: v0.0.1.0...v0.0.1.7

Initial Github Action Release

18 Jan 06:04
Compare
Choose a tag to compare

[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.