Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/recyclarr/blame/commit/8d564bb8004cac1e501ecb00523207b0cde05938/scripts/Prepare-Release.ps1 You should set ROOT_URL correctly, otherwise the web may not work correctly.
recyclarr/scripts/Prepare-Release.ps1

23 lines
854 B

[CmdletBinding()]
param (
[string] $Version
)
$ErrorActionPreference = "Stop"
$version = if ($Version) { $Version } else { dotnet gitversion /showvariable MajorMinorPatch }
Update-Changelog -ReleaseVersion $version -LinkMode Automatic -LinkPattern @{
FirstRelease = "https://github.com/recyclarr/recyclarr/releases/tag/v{CUR}"
NormalRelease = "https://github.com/recyclarr/recyclarr/compare/v{PREV}...v{CUR}"
Unreleased = "https://github.com/recyclarr/recyclarr/compare/v{CUR}...HEAD"
}
# Read & Write the file after updating the changelog to force a newline at the end of the file. The
# Update-Changelog method removes the newline at the end.
$content = Get-Content -Path .\CHANGELOG.md
Set-Content -Path .\CHANGELOG.md -Value $content
git commit -m "release: v$version" -- CHANGELOG.md
git tag -fm "release v$version" "v$version"