chore: Allow version override in Prepare-Release.ps1

pull/201/head
Robert Dailey 11 months ago
parent d30bd864af
commit 5b0dfe0fa6

@ -1,9 +1,11 @@
[CmdletBinding()]
param ()
param (
[string] $Version
)
$ErrorActionPreference = "Stop"
$version = dotnet-gitversion /showvariable SemVer
$version = if ($Version) { $Version } else { dotnet-gitversion /showvariable SemVer }
Update-Changelog -ReleaseVersion $version -LinkMode Automatic -LinkPattern @{
FirstRelease = "https://github.com/recyclarr/recyclarr/releases/tag/v{CUR}"

Loading…
Cancel
Save