hurl/bin/release/create_windows64_zip_package.ps1
2022-09-28 16:38:16 +02:00

14 lines
499 B
PowerShell

powershell write-host -foregroundcolor Cyan "----- create windows64 zip package -----"
$actual_dir=(Get-Location).Path
# get built hurl version
$hurl_package_version = Get-Content .\target\win-package\version.txt
# create windows64 zip package
cd $PSScriptRoot\..\..\target\win-package
Get-ChildItem -Path *.dll, *hurl.exe, *hurlfmt.exe, *.txt, ../../*.md -Exclude hex_literal* | Compress-Archive -DestinationPath hurl-${hurl_package_version}-win64.zip
Get-ChildItem .\*win64.zip
cd $actual_dir