summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJT <547158+jntrnr@users.noreply.github.com>2022-09-07 06:42:11 +1200
committerGitHub <noreply@github.com>2022-09-07 06:42:11 +1200
commitb0e5723a68d77b42d756879ab7773fdee81f8924 (patch)
treed17ef1366cdc423346cb9f5d528c5e2dea6c2070
parent9273bb3f721cde2cf6a05619cbc5b5cfbb92ef7f (diff)
move back to old names for upcoming release0.68.0
-rwxr-xr-x.github/workflows/release-pkg.nu8
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/release-pkg.nu b/.github/workflows/release-pkg.nu
index 7491644e2..a71831be2 100755
--- a/.github/workflows/release-pkg.nu
+++ b/.github/workflows/release-pkg.nu
@@ -50,7 +50,7 @@ if $os in ['ubuntu-latest', 'macos-latest'] {
# Build for Windows without static-link-openssl feature
# ----------------------------------------------------------------------------
if $os in ['windows-latest'] {
- if ($flags | str trim | is-empty) {
+ if ($flags | str trim | empty?) {
cargo build --release --all --target $target --features=extra
} else {
cargo build --release --all --target $target --features=extra $flags
@@ -80,7 +80,7 @@ let ver = if $os == 'windows-latest' {
} else {
(do -i { ./output/nu -c 'version' }) | str collect
}
-if ($ver | str trim | is-empty) {
+if ($ver | str trim | empty?) {
$'(ansi r)Incompatible nu binary...(ansi reset)'
} else { $ver }
@@ -124,14 +124,14 @@ if $os in ['ubuntu-latest', 'macos-latest'] {
7z a $archive *
print $'archive: ---> ($archive)';
let pkg = (ls -f $archive | get name)
- if not ($pkg | is-empty) {
+ if not ($pkg | empty?) {
echo $'::set-output name=archive::($pkg | get 0)'
}
}
}
def 'cargo-build-nu' [ options: string ] {
- if ($options | str trim | is-empty) {
+ if ($options | str trim | empty?) {
cargo build --release --all --target $target --features=extra,static-link-openssl
} else {
cargo build --release --all --target $target --features=extra,static-link-openssl $options