diff --git a/docs/en/distribution.md b/docs/en/distribution.md index fb3ec5f..66330e2 100644 --- a/docs/en/distribution.md +++ b/docs/en/distribution.md @@ -12,6 +12,6 @@ State defaults to %LOCALAPPDATA%/PGMS; PGMS_STATE_DIRECTORY allows a separate tr Verify integrity with ./Verify-Package.ps1 -PackagePath . in PowerShell 7; manifest hashes detect differences, not authorship. Optional managed installation also requires PowerShell 7. From the extracted package: ./Install-Pgms.ps1 -PackagePath .; inspect ./Get-PgmsInstallation.ps1; launch ./Start-Pgms.ps1; use ./Set-PgmsActiveVersion.ps1 -Milestone for rollback and ./Uninstall-Pgms.ps1 -Milestone for removal. Use -InstallRoot for an isolated managed location. These scripts preserve user state and refuse unmanaged/nonempty roots and unsafe paths; close running instances first. -Source, bilingual guides and reporting: https://github.com/leoars/PostgresManagementStudio . Original work is MIT; third-party licenses and trademark terms remain separate. PGMS is independent and does not claim full SSMS parity or endorsement. +Source, bilingual guides and reporting: https://github.com/leoars/PostgresManagementStudio . Original work is Apache-2.0; third-party licenses and trademark terms remain separate. PGMS is independent and does not claim full SSMS parity or endorsement. Release assets are built by GitHub Actions from a version tag and published as a draft that the maintainer reviews. The release page provides a single SHA256SUMS.txt covering every asset and a build provenance attestation, verifiable with the GitHub CLI: gh attestation verify --repo leoars/PostgresManagementStudio. A graphical installer EXE (English/pt-BR, current user or all users) is published alongside this ZIP; the v0.1.0-alpha.1 PowerShell download installer is not part of this release. diff --git a/docs/pt-BR/distribution.md b/docs/pt-BR/distribution.md index 52e0679..75145c0 100644 --- a/docs/pt-BR/distribution.md +++ b/docs/pt-BR/distribution.md @@ -12,6 +12,6 @@ Estado padrão em %LOCALAPPDATA%/PGMS; PGMS_STATE_DIRECTORY permite pasta separa Confira integridade com ./Verify-Package.ps1 -PackagePath . no PowerShell 7; hashes detectam diferenças, não autoria. Instalação gerenciada opcional também exige PowerShell 7. No pacote extraído: ./Install-Pgms.ps1 -PackagePath .; consulte ./Get-PgmsInstallation.ps1; abra ./Start-Pgms.ps1; use ./Set-PgmsActiveVersion.ps1 -Milestone no rollback e ./Uninstall-Pgms.ps1 -Milestone na remoção. Use -InstallRoot para local gerenciado isolado. Scripts preservam estado do usuário e recusam raiz não gerenciada/não vazia e caminhos inseguros; feche instâncias primeiro. -Fonte, guias bilíngues e relatos: https://github.com/leoars/PostgresManagementStudio . Trabalho próprio MIT; licenças de terceiros e condições de marca são separadas. PGMS é independente, sem paridade integral SSMS ou endosso. +Fonte, guias bilíngues e relatos: https://github.com/leoars/PostgresManagementStudio . Trabalho próprio Apache-2.0; licenças de terceiros e condições de marca são separadas. PGMS é independente, sem paridade integral SSMS ou endosso. Os assets da release são compilados pelo GitHub Actions a partir de uma tag de versão e publicados como rascunho revisado pelo mantenedor. A página da release traz um único SHA256SUMS.txt cobrindo todos os assets e um atestado de proveniência de build, verificável com o GitHub CLI: gh attestation verify --repo leoars/PostgresManagementStudio. Um instalador gráfico EXE (inglês/pt-BR, por usuário ou para todos) é publicado junto com este ZIP; o instalador PowerShell de download da v0.1.0-alpha.1 não faz parte desta release. diff --git a/scripts/Test-PublicDocumentation.ps1 b/scripts/Test-PublicDocumentation.ps1 index 5865d4e..76c3e78 100644 --- a/scripts/Test-PublicDocumentation.ps1 +++ b/scripts/Test-PublicDocumentation.ps1 @@ -35,4 +35,8 @@ foreach ($path in ($paths | Sort-Object -Unique)) { $linkCount++ } } +foreach ($guide in @('docs/en/distribution.md', 'docs/pt-BR/distribution.md')) { + $text = [IO.File]::ReadAllText((Join-Path $root $guide)) + if (!$text.Contains('Apache-2.0') -or $text -cmatch '\bMIT\b') { throw "Packaged guide must state the current license: $guide" } +} [pscustomobject]@{ Valid=$true; LanguagePairs=$pairs.Count; PublicDocuments=@($paths | Sort-Object -Unique).Count; LocalLinksChecked=$linkCount; CommandsMatch=$true; HistoricalRecordsTranslated=$false }