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