nushell/.github
Justin Ma 229e8c5fd7
Fix Nu release packages after upgrading to Nu v0.91 (#12119)
<!--
if this PR closes one or more issues, you can automatically link the PR
with
them by using one of the [*linking
keywords*](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword),
e.g.
- this PR should close #xxxx
- fixes #xxxx

you can also mention related issues, PRs or discussions!
-->

# 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:
```console
Error: nu:🐚: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
2024-03-08 14:36:08 +08:00
..
AUTO_ISSUE_TEMPLATE Move the nightly issue template to a hidden place (#9495) 2023-06-21 22:41:57 +08:00
ISSUE_TEMPLATE Move the nightly issue template to a hidden place (#9495) 2023-06-21 22:41:57 +08:00
workflows Fix Nu release packages after upgrading to Nu v0.91 (#12119) 2024-03-08 14:36:08 +08:00
dependabot.yml Reschedule dependabot PR opening to Wednesday (#12082) 2024-03-06 23:08:35 +01:00
pull_request_template.md Add notice to enable develop mode on Windows (#10111) 2023-08-24 11:02:54 -07:00