feat: prepare sellable source delivery edition

This commit is contained in:
liumangmang
2026-04-16 23:28:26 +08:00
parent f606d20000
commit 37dc4d8216
93 changed files with 7649 additions and 3096 deletions

View File

@@ -0,0 +1,14 @@
param(
[string]$PomPath = (Join-Path $PSScriptRoot '..\..\backend\pom.xml')
)
$resolvedPath = Resolve-Path -LiteralPath $PomPath -ErrorAction Stop
[xml]$pom = Get-Content -LiteralPath $resolvedPath -Raw -Encoding UTF8
$version = $pom.project.version
if ([string]::IsNullOrWhiteSpace($version)) {
Write-Error "Failed to read <project><version> from $resolvedPath"
exit 1
}
Write-Output $version.Trim()