enprot 0.4.0

Engyon Protected Text (EPT) — confidentiality processor and capability ledger
1
2
3
4
5
6
7
8
9
10
11
12
$name = "$Env:PROJECT_NAME-$Env:RELEASE_TAG-$Env:TARGET"
New-Item -ItemType Directory -Force -Path $(Join-Path 'staging' "$name")

ForEach ($file in "$Env:EXE_PATH",'README.adoc') {
  Copy-Item -LiteralPath "$file" -Destination $(Join-Path 'staging' "$name")
}
New-Item -ItemType Directory -Force -Path 'archives'
$outname = Join-Path "$PWD" $(Join-Path 'archives' "$name.zip")
Push-Location -LiteralPath 'staging'
& 7z a "$outname" "$name"
Pop-Location