Skip to content

Commit 6ec94a8

Browse files
authored
Fix since_last_release.nu script (nushell#385)
Missed update of fetch to `http get`
1 parent 00b0039 commit 6ec94a8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

make_release/since_last_release.nu

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# fetch https://api.github.com/repos/nushell/nushell/pulls?q=is%3Apr+merged%3A%3E%3D2021-04-20+ | select html_url user.login title body
2-
# fetch https://api.github.com/search/issues?q=repo:nushell/nushell+is:pr+is:merged+merged:%3E2021-05-08 | get items | select html_url user.login title body
1+
# http get https://api.github.com/repos/nushell/nushell/pulls?q=is%3Apr+merged%3A%3E%3D2021-04-20+ | select html_url user.login title body
2+
# http get https://api.github.com/search/issues?q=repo:nushell/nushell+is:pr+is:merged+merged:%3E2021-05-08 | get items | select html_url user.login title body
33
# Repos to monitor
44

55
def do-work [] {
@@ -28,7 +28,7 @@ def do-work [] {
2828
let entries = ($site_table | each { |row|
2929
let query_string = $"($query_prefix)($row.repo)($query_suffix)"
3030
# this is for debugging the rate limit. comment it out if things are working well
31-
# fetch -u $env.GITHUB_USERNAME -p $env.GITHUB_PASSWORD https://api.github.com/rate_limit | get resources | select core.limit core.remaining graphql.limit graphql.remaining integration_manifest.limit integration_manifest.remaining search.limit search.remaining
31+
# http get -u $env.GITHUB_USERNAME -p $env.GITHUB_PASSWORD https://api.github.com/rate_limit | get resources | select core.limit core.remaining graphql.limit graphql.remaining integration_manifest.limit integration_manifest.remaining search.limit search.remaining
3232
let site_json = (http get -u $env.GITHUB_USERNAME -p $env.GITHUB_PASSWORD $query_string | get items | select html_url user.login title)
3333

3434
$"## ($row.site)(char nl)(char nl)"

0 commit comments

Comments
 (0)