param( [Parameter(Mandatory = $true)] [ValidatePattern("^\d+\.\d+\.\d+$")] [string]$Version ) $Root = Split-Path -Parent $MyInvocation.MyCommand.Path & (Join-Path $Root "publish_gitea_release.ps1") -Version $Version