Skip to content

v0.3.6

Choose a tag to compare

@tsubotitsch tsubotitsch released this 12 Apr 21:25

[v0.3.6]

Added

build.ps1

  • Introduced a new task Update_Changelog_Direct to automate direct changelog updates without requiring a pull request.
    • Uses the function Update-ChangelogDirect to write updates directly to CHANGELOG.md.
    • Supports dynamic configuration through environment variables and build configuration:
      • Accepts GitHub authentication via GitHubToken or GITHUB_TOKEN.
      • Configures Git user identity via GIT_USER_NAME and GIT_USER_EMAIL, with fallback to build configuration values.
      • Adds support for updating the changelog during prerelease builds via the -UpdateChangelogOnPrerelease parameter.
    • Resolves the changelog file path dynamically using Get-SamplerAbsolutePath.
    • Integrates with existing build task variable initialization via Set-SamplerTaskVariable.
    • Enables fully automated, inline changelog updates as part of the build pipeline.

Changed

.github/workflows/publish.yml

  • Updated the GitVersion setup action from GitTools/actions/gitversion/setup@v0 to GitTools/actions/gitversion/setup@v4.5.0.
    • Improves compatibility with newer GitVersion features and enhances CI reliability.
  • Upgraded the GitVersion setup action from GitTools/actions/gitversion/setup@v0 to v3.1.1 to use newer NodeJS version

build.yaml

  • Replaced the Create_ChangeLog_GitHub_PR task with Update_Changelog_Direct in the publish workflow.
    • Transitions from a pull request–based changelog update process to direct updates during publishing.
    • Simplifies the release workflow and removes the need for intermediate PRs for changelog updates.
    • Ensures changelog updates are executed as part of the standard publishing pipeline.