diff --git a/.github/workflows/release-pkg.nu b/.github/workflows/release-pkg.nu index 48fd39874..e6394d712 100755 --- a/.github/workflows/release-pkg.nu +++ b/.github/workflows/release-pkg.nu @@ -139,7 +139,7 @@ print $'(char nl)Copying release files...'; hr-line > register ./nu_plugin_query" | save $'($dist)/README.txt' -f [LICENSE $executable] | each {|it| cp -rv $it $dist } | flatten # Sleep a few seconds to make sure the cp process finished successfully -# sleep 3sec +sleep 3sec print $'(char nl)Check binary release version detail:'; hr-line let ver = if $os == 'windows-latest' { @@ -164,11 +164,7 @@ if $os in [$USE_UBUNTU, 'macos-latest'] { let archive = $'($dist)/($dest).tar.gz' mkdir $dest - try { - $files | each {|it| mv $it $dest } | ignore - } catch { - print $'(ansi r)Error creating release archive (ansi reset)'; exit 1 - } + $files | each {|it| mv $it $dest } | ignore print $'(char nl)(ansi g)Archive contents:(ansi reset)'; hr-line; ls $dest