-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
with Nushell 0.100.0, `to nuon` has changed and now quotes strings that contain a `.`, thus breaking hash computations... this PR does the following 1. formats the registry NUON file so that it's easier to read and maintain 2. relax the "newline" test on registry files, not sure why we _want_ to have newlines in registry files 3. fix the computation of the hash of pkg files by using `to nuon` instead of `open --raw` 4. pin the Nushell version to 0.100.0 in the CI because having a moving target in a CI is very hard to work with > **Note** > > point 1, 2 and 3 are probably debatable and not mandatory for this PR but it was by far the easiest to get this PR going 😋
- Loading branch information
Showing
4 changed files
with
10 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ jobs: | |
|
||
- uses: hustcer/[email protected] | ||
with: | ||
version: nightly | ||
version: "0.100.0" | ||
|
||
- name: Show Nushell Version | ||
run: version | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
[[name, path, hash]; [spam_custom, spam_custom.nuon, "md5-90c14f51108a3c067d1f1e11f156ca98"], [spam_module, spam_module.nuon, "md5-c14d7a703fb0e587cf19934c5a397619"], [spam_script, spam_script.nuon, "md5-d7724c6282cc7eb878178b79f8617e29"]] | ||
[ | ||
[name, path, hash]; | ||
|
||
[spam_custom, spam_custom.nuon, "md5-7b3a5119d1af5a025dae32bcfc7cab96"], | ||
[spam_module, spam_module.nuon, "md5-618c7c8ed97b423f111790d97bcd8486"], | ||
[spam_script, spam_script.nuon, "md5-ce1b060a68ebb42291e364b5daa6d47a"], | ||
] |