Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Nu release packages after upgrading to Nu v0.91 #12119

Merged
merged 1 commit into from Mar 8, 2024

Conversation

hustcer
Copy link
Contributor

@hustcer hustcer commented Mar 8, 2024

Description

Fix Nu release packages after upgrading to Nu v0.91
mv fails here: https://github.com/nushell/nightly/actions/runs/8199461348/job/22424601700 with error:

Error: nu::shell::eval_block_with_input

  × Eval block failed with pipeline input
     ╭─[/home/runner/work/nightly/nightly/.github/workflows/release-pkg.nu:158:18]
 157 │ 
 158 │     let files = (ls | get name)
     ·                  ─┬
     ·                   ╰── source value
 159 │     let dest = if $env.RELEASE_TYPE == 'full' { $'($bin)-($version)-($FULL_NAME)' } else { $'($bin)-($version)-($target)' }
     ╰────

Error:   × cannot move '/home/runner/work/nightly/nightly/output/nu' to a
  │ subdirectory of itself, '/home/runner/work/nightly/nightly/output/nu-
  │ 0.91.1-x86_64-unknown-linux-gnu//home/runner/work/nightly/nightly/output/
  │ nu'

Is this a bug of mv? At least the mv command in 0.90.1 works

@hustcer hustcer merged commit 229e8c5 into nushell:main Mar 8, 2024
19 checks passed
@hustcer hustcer deleted the fix/release-pkg branch March 8, 2024 06:36
@hustcer hustcer added this to the v0.92.0 milestone Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant