summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Holderbach <sholderbach@users.noreply.github.com>2024-04-30 09:42:21 +0200
committerGitHub <noreply@github.com>2024-04-30 00:42:21 -0700
commit38bf3f6e1b9d3b53d4d37b47396d4dad17d6d0a1 (patch)
tree4769b6eb14b0e366bdf8d622c1d399a5b7e3df83
parente83123dcca82b7aa73ef4257a6cf9a9519b22678 (diff)
Update the bundled readme in release archives (#12688)
Reflect the deprecation of `register` cc @devyn --------- Co-authored-by: Devyn Cairns <devyn.cairns@gmail.com>
-rwxr-xr-x.github/workflows/release-pkg.nu10
1 files changed, 8 insertions, 2 deletions
diff --git a/.github/workflows/release-pkg.nu b/.github/workflows/release-pkg.nu
index 7ff5059e8..9f728b3b8 100755
--- a/.github/workflows/release-pkg.nu
+++ b/.github/workflows/release-pkg.nu
@@ -134,9 +134,15 @@ print $'(char nl)All executable files:'; hr-line
print (ls -f ($executable | into glob)); sleep 1sec
print $'(char nl)Copying release files...'; hr-line
-"To use Nu plugins, use the register command to tell Nu where to find the plugin. For example:
+"To use the included Nushell plugins, register the binaries with the `plugin add` command to tell Nu where to find the plugin.
+Then you can use `plugin use` to load the plugin into your session.
+For example:
-> register ./nu_plugin_query" | save $'($dist)/README.txt' -f
+> plugin add ./nu_plugin_query
+> plugin use query
+
+For more information, refer to https://www.nushell.sh/book/plugins.html
+" | save $'($dist)/README.txt' -f
[LICENSE ...(glob $executable)] | each {|it| cp -rv $it $dist } | flatten
print $'(char nl)Check binary release version detail:'; hr-line