mirror of
https://github.com/nushell/nushell
synced 2024-12-26 13:03:07 +00:00
Revert to released syntax for release-pkg
This commit is contained in:
parent
3beaca0d06
commit
b746d8427c
1 changed files with 2 additions and 2 deletions
4
.github/workflows/release-pkg.nu
vendored
4
.github/workflows/release-pkg.nu
vendored
|
@ -76,9 +76,9 @@ cp -v README.release.txt $'($dist)/README.txt'
|
|||
|
||||
$'(char nl)Check binary release version detail:'; hr-line
|
||||
let ver = if $os == 'windows-latest' {
|
||||
(do -i { ./output/nu.exe -c 'version' }) | str join
|
||||
(do -i { ./output/nu.exe -c 'version' }) | str collect
|
||||
} else {
|
||||
(do -i { ./output/nu -c 'version' }) | str join
|
||||
(do -i { ./output/nu -c 'version' }) | str collect
|
||||
}
|
||||
if ($ver | str trim | is-empty) {
|
||||
$'(ansi r)Incompatible nu binary...(ansi reset)'
|
||||
|
|
Loading…
Reference in a new issue