2022-12-28 12:20:27 +03:00
|
|
|
Set-StrictMode -Version latest
|
|
|
|
$ErrorActionPreference = 'Stop'
|
|
|
|
|
2023-04-05 12:07:50 +03:00
|
|
|
write-host -foregroundcolor Cyan "----- create windows64 zip package -----"
|
2022-09-23 10:21:44 +03:00
|
|
|
|
|
|
|
$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
|
2023-04-05 12:07:50 +03:00
|
|
|
|