diff --git a/__tests__/data/brew.json b/__tests__/data/brew.json index 2e23b84..d8fb7a2 100644 --- a/__tests__/data/brew.json +++ b/__tests__/data/brew.json @@ -1 +1 @@ -{"name":"hugo","full_name":"hugo","oldname":null,"aliases":[],"versioned_formulae":[],"desc":"Configurable static site generator","homepage":"https://gohugo.io/","versions":{"stable":"0.62.2","devel":null,"head":"HEAD","bottle":true},"revision":0,"version_scheme":0,"bottle":{"stable":{"rebuild":0,"cellar":":any_skip_relocation","prefix":"/usr/local","root_url":"https://homebrew.bintray.com/bottles","files":{"catalina":{"url":"https://homebrew.bintray.com/bottles/hugo-0.62.2.catalina.bottle.tar.gz","sha256":"354545c2c125e01a8860f83577fb4218d585fa8d38cd7f51e4228a149347fbcf"},"mojave":{"url":"https://homebrew.bintray.com/bottles/hugo-0.62.2.mojave.bottle.tar.gz","sha256":"9645b64fe6290c4c3b7591ef21139247f0fad6e49da1edd01665b3130a8f1d1a"},"high_sierra":{"url":"https://homebrew.bintray.com/bottles/hugo-0.62.2.high_sierra.bottle.tar.gz","sha256":"0ede4cbcc7536dd6b05107376637840356062273d734b4106be98b3d1732d50c"}}}},"keg_only":false,"bottle_disabled":false,"options":[],"build_dependencies":["go"],"dependencies":[],"recommended_dependencies":[],"optional_dependencies":[],"uses_from_macos":[],"requirements":[],"conflicts_with":[],"caveats":null,"installed":[],"linked_keg":null,"pinned":false,"outdated":false,"analytics":{"install":{"30d":{"hugo":24278,"hugo --HEAD":30},"90d":{"hugo":68639,"hugo --HEAD":80},"365d":{"hugo":223748,"hugo --HEAD":321}},"install_on_request":{"30d":{"hugo":23621,"hugo --HEAD":27},"90d":{"hugo":66676,"hugo --HEAD":74},"365d":{"hugo":215985,"hugo --HEAD":305}},"build_error":{"30d":{"hugo":0}}}} +{"name":"hugo","full_name":"hugo","tap":"homebrew/core","oldname":null,"aliases":[],"versioned_formulae":[],"desc":"Configurable static site generator","license":"Apache-2.0","homepage":"https://gohugo.io/","versions":{"stable":"0.83.1","head":"HEAD","bottle":true},"urls":{"stable":{"url":"https://github.com/gohugoio/hugo/archive/v0.83.1.tar.gz","tag":null,"revision":null}},"revision":0,"version_scheme":0,"bottle":{"stable":{"rebuild":0,"root_url":"https://ghcr.io/v2/homebrew/core","files":{"arm64_big_sur":{"cellar":":any_skip_relocation","url":"https://ghcr.io/v2/homebrew/core/hugo/blobs/sha256:f5997a1858e300787cd6e2e01ff8f87f0d3233f42af4becc040448ce06524d53","sha256":"f5997a1858e300787cd6e2e01ff8f87f0d3233f42af4becc040448ce06524d53"},"big_sur":{"cellar":":any_skip_relocation","url":"https://ghcr.io/v2/homebrew/core/hugo/blobs/sha256:32ad322954e9c2962849495c88c88e461d21a0a7d3bfa3aa4892ee34f569bf81","sha256":"32ad322954e9c2962849495c88c88e461d21a0a7d3bfa3aa4892ee34f569bf81"},"catalina":{"cellar":":any_skip_relocation","url":"https://ghcr.io/v2/homebrew/core/hugo/blobs/sha256:99078c665152420113fac08aaea7bdf2f8fe230696b724448bb9f2244cfdec55","sha256":"99078c665152420113fac08aaea7bdf2f8fe230696b724448bb9f2244cfdec55"},"mojave":{"cellar":":any_skip_relocation","url":"https://ghcr.io/v2/homebrew/core/hugo/blobs/sha256:a45ae895351a549639b40bdbb2a630e8a11ffb68d78a0aa7577faedce4c011d4","sha256":"a45ae895351a549639b40bdbb2a630e8a11ffb68d78a0aa7577faedce4c011d4"}}}},"keg_only":false,"bottle_disabled":false,"options":[],"build_dependencies":["go"],"dependencies":[],"recommended_dependencies":[],"optional_dependencies":[],"uses_from_macos":[],"requirements":[],"conflicts_with":[],"caveats":null,"installed":[],"linked_keg":null,"pinned":false,"outdated":false,"deprecated":false,"deprecation_date":null,"deprecation_reason":null,"disabled":false,"disable_date":null,"disable_reason":null,"analytics":{"install":{"30d":{"hugo":24137,"hugo --HEAD":16},"90d":{"hugo":61006,"hugo --HEAD":51},"365d":{"hugo":246915,"hugo --HEAD":273}},"install_on_request":{"30d":{"hugo":24100,"hugo --HEAD":16},"90d":{"hugo":60903,"hugo --HEAD":51},"365d":{"hugo":244317,"hugo --HEAD":266}},"build_error":{"30d":{"hugo":0}}},"generated_date":"2021-05-21"} diff --git a/__tests__/data/github.json b/__tests__/data/github.json index 5fd1e31..8e1c6e5 100644 --- a/__tests__/data/github.json +++ b/__tests__/data/github.json @@ -1,19 +1,14 @@ { - "url": "https://api.github.com/repos/gohugoio/hugo/releases/22603992", - "assets_url": "https://api.github.com/repos/gohugoio/hugo/releases/22603992/assets", - "upload_url": "https://uploads.github.com/repos/gohugoio/hugo/releases/22603992/assets{?name,label}", - "html_url": "https://github.com/gohugoio/hugo/releases/tag/v0.62.2", - "id": 22603992, - "node_id": "MDc6UmVsZWFzZTIyNjAzOTky", - "tag_name": "v0.62.2", - "target_commitish": "master", - "name": "v0.62.2", - "draft": false, + "url": "https://api.github.com/repos/gohugoio/hugo/releases/42329375", + "assets_url": "https://api.github.com/repos/gohugoio/hugo/releases/42329375/assets", + "upload_url": "https://uploads.github.com/repos/gohugoio/hugo/releases/42329375/assets{?name,label}", + "html_url": "https://github.com/gohugoio/hugo/releases/tag/v0.83.1", + "id": 42329375, "author": { "login": "bep", "id": 394382, "node_id": "MDQ6VXNlcjM5NDM4Mg==", - "avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4", + "avatar_url": "https://avatars.githubusercontent.com/u/394382?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bep", "html_url": "https://github.com/bep", @@ -29,21 +24,26 @@ "type": "User", "site_admin": false }, + "node_id": "MDc6UmVsZWFzZTQyMzI5Mzc1", + "tag_name": "v0.83.1", + "target_commitish": "master", + "name": "v0.83.1", + "draft": false, "prerelease": false, - "created_at": "2020-01-05T18:50:35Z", - "published_at": "2020-01-05T19:35:16Z", + "created_at": "2021-05-02T14:38:02Z", + "published_at": "2021-05-02T15:29:26Z", "assets": [ { - "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152845", - "id": 17152845, - "node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODQ1", - "name": "hugo_0.62.2_checksums.txt", + "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/36229511", + "id": 36229511, + "node_id": "MDEyOlJlbGVhc2VBc3NldDM2MjI5NTEx", + "name": "hugo_0.83.1_checksums.txt", "label": "", "uploader": { "login": "bep", "id": 394382, "node_id": "MDQ6VXNlcjM5NDM4Mg==", - "avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4", + "avatar_url": "https://avatars.githubusercontent.com/u/394382?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bep", "html_url": "https://github.com/bep", @@ -61,23 +61,23 @@ }, "content_type": "text/plain; charset=utf-8", "state": "uploaded", - "size": 2552, - "download_count": 328, - "created_at": "2020-01-05T18:58:47Z", - "updated_at": "2020-01-05T18:58:47Z", - "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_0.62.2_checksums.txt" + "size": 2856, + "download_count": 341, + "created_at": "2021-05-02T15:28:32Z", + "updated_at": "2021-05-02T15:28:32Z", + "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.83.1/hugo_0.83.1_checksums.txt" }, { - "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152874", - "id": 17152874, - "node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODc0", - "name": "hugo_0.62.2_DragonFlyBSD-64bit.tar.gz", + "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/36229523", + "id": 36229523, + "node_id": "MDEyOlJlbGVhc2VBc3NldDM2MjI5NTIz", + "name": "hugo_0.83.1_DragonFlyBSD-64bit.tar.gz", "label": "", "uploader": { "login": "bep", "id": 394382, "node_id": "MDQ6VXNlcjM5NDM4Mg==", - "avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4", + "avatar_url": "https://avatars.githubusercontent.com/u/394382?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bep", "html_url": "https://github.com/bep", @@ -95,23 +95,23 @@ }, "content_type": "application/gzip", "state": "uploaded", - "size": 13188250, - "download_count": 25, - "created_at": "2020-01-05T18:58:52Z", - "updated_at": "2020-01-05T18:58:52Z", - "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_0.62.2_DragonFlyBSD-64bit.tar.gz" + "size": 13893968, + "download_count": 87, + "created_at": "2021-05-02T15:28:35Z", + "updated_at": "2021-05-02T15:28:35Z", + "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.83.1/hugo_0.83.1_DragonFlyBSD-64bit.tar.gz" }, { - "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152867", - "id": 17152867, - "node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODY3", - "name": "hugo_0.62.2_FreeBSD-32bit.tar.gz", + "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/36229518", + "id": 36229518, + "node_id": "MDEyOlJlbGVhc2VBc3NldDM2MjI5NTE4", + "name": "hugo_0.83.1_FreeBSD-32bit.tar.gz", "label": "", "uploader": { "login": "bep", "id": 394382, "node_id": "MDQ6VXNlcjM5NDM4Mg==", - "avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4", + "avatar_url": "https://avatars.githubusercontent.com/u/394382?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bep", "html_url": "https://github.com/bep", @@ -129,23 +129,23 @@ }, "content_type": "application/gzip", "state": "uploaded", - "size": 12223449, - "download_count": 10, - "created_at": "2020-01-05T18:58:50Z", - "updated_at": "2020-01-05T18:58:53Z", - "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_0.62.2_FreeBSD-32bit.tar.gz" + "size": 12759488, + "download_count": 67, + "created_at": "2021-05-02T15:28:33Z", + "updated_at": "2021-05-02T15:28:34Z", + "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.83.1/hugo_0.83.1_FreeBSD-32bit.tar.gz" }, { - "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152850", - "id": 17152850, - "node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODUw", - "name": "hugo_0.62.2_FreeBSD-64bit.tar.gz", + "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/36229525", + "id": 36229525, + "node_id": "MDEyOlJlbGVhc2VBc3NldDM2MjI5NTI1", + "name": "hugo_0.83.1_FreeBSD-64bit.tar.gz", "label": "", "uploader": { "login": "bep", "id": 394382, "node_id": "MDQ6VXNlcjM5NDM4Mg==", - "avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4", + "avatar_url": "https://avatars.githubusercontent.com/u/394382?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bep", "html_url": "https://github.com/bep", @@ -163,23 +163,23 @@ }, "content_type": "application/gzip", "state": "uploaded", - "size": 13195767, - "download_count": 38, - "created_at": "2020-01-05T18:58:47Z", - "updated_at": "2020-01-05T18:58:48Z", - "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_0.62.2_FreeBSD-64bit.tar.gz" + "size": 13901454, + "download_count": 91, + "created_at": "2021-05-02T15:28:35Z", + "updated_at": "2021-05-02T15:28:36Z", + "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.83.1/hugo_0.83.1_FreeBSD-64bit.tar.gz" }, { - "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152869", - "id": 17152869, - "node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODY5", - "name": "hugo_0.62.2_FreeBSD-ARM.tar.gz", + "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/36229519", + "id": 36229519, + "node_id": "MDEyOlJlbGVhc2VBc3NldDM2MjI5NTE5", + "name": "hugo_0.83.1_FreeBSD-ARM.tar.gz", "label": "", "uploader": { "login": "bep", "id": 394382, "node_id": "MDQ6VXNlcjM5NDM4Mg==", - "avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4", + "avatar_url": "https://avatars.githubusercontent.com/u/394382?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bep", "html_url": "https://github.com/bep", @@ -197,57 +197,23 @@ }, "content_type": "application/gzip", "state": "uploaded", - "size": 12336796, - "download_count": 12, - "created_at": "2020-01-05T18:58:50Z", - "updated_at": "2020-01-05T18:58:51Z", - "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_0.62.2_FreeBSD-ARM.tar.gz" + "size": 13014181, + "download_count": 66, + "created_at": "2021-05-02T15:28:34Z", + "updated_at": "2021-05-02T15:28:35Z", + "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.83.1/hugo_0.83.1_FreeBSD-ARM.tar.gz" }, { - "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152855", - "id": 17152855, - "node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODU1", - "name": "hugo_0.62.2_Linux-32bit.deb", + "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/36229509", + "id": 36229509, + "node_id": "MDEyOlJlbGVhc2VBc3NldDM2MjI5NTA5", + "name": "hugo_0.83.1_FreeBSD-ARM64.tar.gz", "label": "", "uploader": { "login": "bep", "id": 394382, "node_id": "MDQ6VXNlcjM5NDM4Mg==", - "avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/bep", - "html_url": "https://github.com/bep", - "followers_url": "https://api.github.com/users/bep/followers", - "following_url": "https://api.github.com/users/bep/following{/other_user}", - "gists_url": "https://api.github.com/users/bep/gists{/gist_id}", - "starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/bep/subscriptions", - "organizations_url": "https://api.github.com/users/bep/orgs", - "repos_url": "https://api.github.com/users/bep/repos", - "events_url": "https://api.github.com/users/bep/events{/privacy}", - "received_events_url": "https://api.github.com/users/bep/received_events", - "type": "User", - "site_admin": false - }, - "content_type": "application/x-debian-package", - "state": "uploaded", - "size": 12226680, - "download_count": 37, - "created_at": "2020-01-05T18:58:48Z", - "updated_at": "2020-01-05T18:58:55Z", - "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_0.62.2_Linux-32bit.deb" - }, - { - "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152849", - "id": 17152849, - "node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODQ5", - "name": "hugo_0.62.2_Linux-32bit.tar.gz", - "label": "", - "uploader": { - "login": "bep", - "id": 394382, - "node_id": "MDQ6VXNlcjM5NDM4Mg==", - "avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4", + "avatar_url": "https://avatars.githubusercontent.com/u/394382?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bep", "html_url": "https://github.com/bep", @@ -265,567 +231,23 @@ }, "content_type": "application/gzip", "state": "uploaded", - "size": 12228575, - "download_count": 31, - "created_at": "2020-01-05T18:58:47Z", - "updated_at": "2020-01-05T18:58:48Z", - "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_0.62.2_Linux-32bit.tar.gz" - }, - { - "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152858", - "id": 17152858, - "node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODU4", - "name": "hugo_0.62.2_Linux-64bit.deb", - "label": "", - "uploader": { - "login": "bep", - "id": 394382, - "node_id": "MDQ6VXNlcjM5NDM4Mg==", - "avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/bep", - "html_url": "https://github.com/bep", - "followers_url": "https://api.github.com/users/bep/followers", - "following_url": "https://api.github.com/users/bep/following{/other_user}", - "gists_url": "https://api.github.com/users/bep/gists{/gist_id}", - "starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/bep/subscriptions", - "organizations_url": "https://api.github.com/users/bep/orgs", - "repos_url": "https://api.github.com/users/bep/repos", - "events_url": "https://api.github.com/users/bep/events{/privacy}", - "received_events_url": "https://api.github.com/users/bep/received_events", - "type": "User", - "site_admin": false - }, - "content_type": "application/x-debian-package", - "state": "uploaded", - "size": 13182646, - "download_count": 2260, - "created_at": "2020-01-05T18:58:49Z", - "updated_at": "2020-01-05T18:58:49Z", - "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_0.62.2_Linux-64bit.deb" - }, - { - "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152851", - "id": 17152851, - "node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODUx", - "name": "hugo_0.62.2_Linux-64bit.tar.gz", - "label": "", - "uploader": { - "login": "bep", - "id": 394382, - "node_id": "MDQ6VXNlcjM5NDM4Mg==", - "avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/bep", - "html_url": "https://github.com/bep", - "followers_url": "https://api.github.com/users/bep/followers", - "following_url": "https://api.github.com/users/bep/following{/other_user}", - "gists_url": "https://api.github.com/users/bep/gists{/gist_id}", - "starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/bep/subscriptions", - "organizations_url": "https://api.github.com/users/bep/orgs", - "repos_url": "https://api.github.com/users/bep/repos", - "events_url": "https://api.github.com/users/bep/events{/privacy}", - "received_events_url": "https://api.github.com/users/bep/received_events", - "type": "User", - "site_admin": false - }, - "content_type": "application/gzip", - "state": "uploaded", - "size": 13192573, - "download_count": 5752, - "created_at": "2020-01-05T18:58:47Z", - "updated_at": "2020-01-05T18:58:48Z", - "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_0.62.2_Linux-64bit.tar.gz" - }, - { - "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152856", - "id": 17152856, - "node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODU2", - "name": "hugo_0.62.2_Linux-ARM.deb", - "label": "", - "uploader": { - "login": "bep", - "id": 394382, - "node_id": "MDQ6VXNlcjM5NDM4Mg==", - "avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/bep", - "html_url": "https://github.com/bep", - "followers_url": "https://api.github.com/users/bep/followers", - "following_url": "https://api.github.com/users/bep/following{/other_user}", - "gists_url": "https://api.github.com/users/bep/gists{/gist_id}", - "starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/bep/subscriptions", - "organizations_url": "https://api.github.com/users/bep/orgs", - "repos_url": "https://api.github.com/users/bep/repos", - "events_url": "https://api.github.com/users/bep/events{/privacy}", - "received_events_url": "https://api.github.com/users/bep/received_events", - "type": "User", - "site_admin": false - }, - "content_type": "application/x-debian-package", - "state": "uploaded", - "size": 12324130, - "download_count": 47, - "created_at": "2020-01-05T18:58:48Z", - "updated_at": "2020-01-05T18:58:49Z", - "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_0.62.2_Linux-ARM.deb" - }, - { - "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152854", - "id": 17152854, - "node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODU0", - "name": "hugo_0.62.2_Linux-ARM.tar.gz", - "label": "", - "uploader": { - "login": "bep", - "id": 394382, - "node_id": "MDQ6VXNlcjM5NDM4Mg==", - "avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/bep", - "html_url": "https://github.com/bep", - "followers_url": "https://api.github.com/users/bep/followers", - "following_url": "https://api.github.com/users/bep/following{/other_user}", - "gists_url": "https://api.github.com/users/bep/gists{/gist_id}", - "starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/bep/subscriptions", - "organizations_url": "https://api.github.com/users/bep/orgs", - "repos_url": "https://api.github.com/users/bep/repos", - "events_url": "https://api.github.com/users/bep/events{/privacy}", - "received_events_url": "https://api.github.com/users/bep/received_events", - "type": "User", - "site_admin": false - }, - "content_type": "application/gzip", - "state": "uploaded", - "size": 12330563, - "download_count": 35, - "created_at": "2020-01-05T18:58:48Z", - "updated_at": "2020-01-05T18:58:48Z", - "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_0.62.2_Linux-ARM.tar.gz" - }, - { - "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152857", - "id": 17152857, - "node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODU3", - "name": "hugo_0.62.2_Linux-ARM64.deb", - "label": "", - "uploader": { - "login": "bep", - "id": 394382, - "node_id": "MDQ6VXNlcjM5NDM4Mg==", - "avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/bep", - "html_url": "https://github.com/bep", - "followers_url": "https://api.github.com/users/bep/followers", - "following_url": "https://api.github.com/users/bep/following{/other_user}", - "gists_url": "https://api.github.com/users/bep/gists{/gist_id}", - "starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/bep/subscriptions", - "organizations_url": "https://api.github.com/users/bep/orgs", - "repos_url": "https://api.github.com/users/bep/repos", - "events_url": "https://api.github.com/users/bep/events{/privacy}", - "received_events_url": "https://api.github.com/users/bep/received_events", - "type": "User", - "site_admin": false - }, - "content_type": "application/x-debian-package", - "state": "uploaded", - "size": 12113228, - "download_count": 38, - "created_at": "2020-01-05T18:58:49Z", - "updated_at": "2020-01-05T18:58:49Z", - "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_0.62.2_Linux-ARM64.deb" - }, - { - "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152843", - "id": 17152843, - "node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODQz", - "name": "hugo_0.62.2_Linux-ARM64.tar.gz", - "label": "", - "uploader": { - "login": "bep", - "id": 394382, - "node_id": "MDQ6VXNlcjM5NDM4Mg==", - "avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/bep", - "html_url": "https://github.com/bep", - "followers_url": "https://api.github.com/users/bep/followers", - "following_url": "https://api.github.com/users/bep/following{/other_user}", - "gists_url": "https://api.github.com/users/bep/gists{/gist_id}", - "starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/bep/subscriptions", - "organizations_url": "https://api.github.com/users/bep/orgs", - "repos_url": "https://api.github.com/users/bep/repos", - "events_url": "https://api.github.com/users/bep/events{/privacy}", - "received_events_url": "https://api.github.com/users/bep/received_events", - "type": "User", - "site_admin": false - }, - "content_type": "application/gzip", - "state": "uploaded", - "size": 12119126, + "size": 12566871, "download_count": 63, - "created_at": "2020-01-05T18:58:47Z", - "updated_at": "2020-01-05T18:58:47Z", - "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_0.62.2_Linux-ARM64.tar.gz" + "created_at": "2021-05-02T15:28:32Z", + "updated_at": "2021-05-02T15:28:32Z", + "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.83.1/hugo_0.83.1_FreeBSD-ARM64.tar.gz" }, { - "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152873", - "id": 17152873, - "node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODcz", - "name": "hugo_0.62.2_macOS-32bit.tar.gz", + "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/36229536", + "id": 36229536, + "node_id": "MDEyOlJlbGVhc2VBc3NldDM2MjI5NTM2", + "name": "hugo_0.83.1_Linux-32bit.deb", "label": "", "uploader": { "login": "bep", "id": 394382, "node_id": "MDQ6VXNlcjM5NDM4Mg==", - "avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/bep", - "html_url": "https://github.com/bep", - "followers_url": "https://api.github.com/users/bep/followers", - "following_url": "https://api.github.com/users/bep/following{/other_user}", - "gists_url": "https://api.github.com/users/bep/gists{/gist_id}", - "starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/bep/subscriptions", - "organizations_url": "https://api.github.com/users/bep/orgs", - "repos_url": "https://api.github.com/users/bep/repos", - "events_url": "https://api.github.com/users/bep/events{/privacy}", - "received_events_url": "https://api.github.com/users/bep/received_events", - "type": "User", - "site_admin": false - }, - "content_type": "application/gzip", - "state": "uploaded", - "size": 12805086, - "download_count": 25, - "created_at": "2020-01-05T18:58:52Z", - "updated_at": "2020-01-05T18:58:52Z", - "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_0.62.2_macOS-32bit.tar.gz" - }, - { - "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152868", - "id": 17152868, - "node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODY4", - "name": "hugo_0.62.2_macOS-64bit.tar.gz", - "label": "", - "uploader": { - "login": "bep", - "id": 394382, - "node_id": "MDQ6VXNlcjM5NDM4Mg==", - "avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/bep", - "html_url": "https://github.com/bep", - "followers_url": "https://api.github.com/users/bep/followers", - "following_url": "https://api.github.com/users/bep/following{/other_user}", - "gists_url": "https://api.github.com/users/bep/gists{/gist_id}", - "starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/bep/subscriptions", - "organizations_url": "https://api.github.com/users/bep/orgs", - "repos_url": "https://api.github.com/users/bep/repos", - "events_url": "https://api.github.com/users/bep/events{/privacy}", - "received_events_url": "https://api.github.com/users/bep/received_events", - "type": "User", - "site_admin": false - }, - "content_type": "application/gzip", - "state": "uploaded", - "size": 13765882, - "download_count": 479, - "created_at": "2020-01-05T18:58:50Z", - "updated_at": "2020-01-05T18:58:51Z", - "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_0.62.2_macOS-64bit.tar.gz" - }, - { - "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152846", - "id": 17152846, - "node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODQ2", - "name": "hugo_0.62.2_NetBSD-32bit.tar.gz", - "label": "", - "uploader": { - "login": "bep", - "id": 394382, - "node_id": "MDQ6VXNlcjM5NDM4Mg==", - "avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/bep", - "html_url": "https://github.com/bep", - "followers_url": "https://api.github.com/users/bep/followers", - "following_url": "https://api.github.com/users/bep/following{/other_user}", - "gists_url": "https://api.github.com/users/bep/gists{/gist_id}", - "starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/bep/subscriptions", - "organizations_url": "https://api.github.com/users/bep/orgs", - "repos_url": "https://api.github.com/users/bep/repos", - "events_url": "https://api.github.com/users/bep/events{/privacy}", - "received_events_url": "https://api.github.com/users/bep/received_events", - "type": "User", - "site_admin": false - }, - "content_type": "application/gzip", - "state": "uploaded", - "size": 12206852, - "download_count": 8, - "created_at": "2020-01-05T18:58:47Z", - "updated_at": "2020-01-05T18:58:47Z", - "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_0.62.2_NetBSD-32bit.tar.gz" - }, - { - "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152863", - "id": 17152863, - "node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODYz", - "name": "hugo_0.62.2_NetBSD-64bit.tar.gz", - "label": "", - "uploader": { - "login": "bep", - "id": 394382, - "node_id": "MDQ6VXNlcjM5NDM4Mg==", - "avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/bep", - "html_url": "https://github.com/bep", - "followers_url": "https://api.github.com/users/bep/followers", - "following_url": "https://api.github.com/users/bep/following{/other_user}", - "gists_url": "https://api.github.com/users/bep/gists{/gist_id}", - "starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/bep/subscriptions", - "organizations_url": "https://api.github.com/users/bep/orgs", - "repos_url": "https://api.github.com/users/bep/repos", - "events_url": "https://api.github.com/users/bep/events{/privacy}", - "received_events_url": "https://api.github.com/users/bep/received_events", - "type": "User", - "site_admin": false - }, - "content_type": "application/gzip", - "state": "uploaded", - "size": 13186059, - "download_count": 12, - "created_at": "2020-01-05T18:58:49Z", - "updated_at": "2020-01-05T18:58:50Z", - "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_0.62.2_NetBSD-64bit.tar.gz" - }, - { - "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152870", - "id": 17152870, - "node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODcw", - "name": "hugo_0.62.2_NetBSD-ARM.tar.gz", - "label": "", - "uploader": { - "login": "bep", - "id": 394382, - "node_id": "MDQ6VXNlcjM5NDM4Mg==", - "avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/bep", - "html_url": "https://github.com/bep", - "followers_url": "https://api.github.com/users/bep/followers", - "following_url": "https://api.github.com/users/bep/following{/other_user}", - "gists_url": "https://api.github.com/users/bep/gists{/gist_id}", - "starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/bep/subscriptions", - "organizations_url": "https://api.github.com/users/bep/orgs", - "repos_url": "https://api.github.com/users/bep/repos", - "events_url": "https://api.github.com/users/bep/events{/privacy}", - "received_events_url": "https://api.github.com/users/bep/received_events", - "type": "User", - "site_admin": false - }, - "content_type": "application/gzip", - "state": "uploaded", - "size": 12325194, - "download_count": 8, - "created_at": "2020-01-05T18:58:51Z", - "updated_at": "2020-01-05T18:58:52Z", - "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_0.62.2_NetBSD-ARM.tar.gz" - }, - { - "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152861", - "id": 17152861, - "node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODYx", - "name": "hugo_0.62.2_OpenBSD-32bit.tar.gz", - "label": "", - "uploader": { - "login": "bep", - "id": 394382, - "node_id": "MDQ6VXNlcjM5NDM4Mg==", - "avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/bep", - "html_url": "https://github.com/bep", - "followers_url": "https://api.github.com/users/bep/followers", - "following_url": "https://api.github.com/users/bep/following{/other_user}", - "gists_url": "https://api.github.com/users/bep/gists{/gist_id}", - "starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/bep/subscriptions", - "organizations_url": "https://api.github.com/users/bep/orgs", - "repos_url": "https://api.github.com/users/bep/repos", - "events_url": "https://api.github.com/users/bep/events{/privacy}", - "received_events_url": "https://api.github.com/users/bep/received_events", - "type": "User", - "site_admin": false - }, - "content_type": "application/gzip", - "state": "uploaded", - "size": 12208022, - "download_count": 11, - "created_at": "2020-01-05T18:58:49Z", - "updated_at": "2020-01-05T18:58:50Z", - "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_0.62.2_OpenBSD-32bit.tar.gz" - }, - { - "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152871", - "id": 17152871, - "node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODcx", - "name": "hugo_0.62.2_OpenBSD-64bit.tar.gz", - "label": "", - "uploader": { - "login": "bep", - "id": 394382, - "node_id": "MDQ6VXNlcjM5NDM4Mg==", - "avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/bep", - "html_url": "https://github.com/bep", - "followers_url": "https://api.github.com/users/bep/followers", - "following_url": "https://api.github.com/users/bep/following{/other_user}", - "gists_url": "https://api.github.com/users/bep/gists{/gist_id}", - "starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/bep/subscriptions", - "organizations_url": "https://api.github.com/users/bep/orgs", - "repos_url": "https://api.github.com/users/bep/repos", - "events_url": "https://api.github.com/users/bep/events{/privacy}", - "received_events_url": "https://api.github.com/users/bep/received_events", - "type": "User", - "site_admin": false - }, - "content_type": "application/gzip", - "state": "uploaded", - "size": 13183077, - "download_count": 39, - "created_at": "2020-01-05T18:58:51Z", - "updated_at": "2020-01-05T18:58:52Z", - "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_0.62.2_OpenBSD-64bit.tar.gz" - }, - { - "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152864", - "id": 17152864, - "node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODY0", - "name": "hugo_0.62.2_OpenBSD-ARM.tar.gz", - "label": "", - "uploader": { - "login": "bep", - "id": 394382, - "node_id": "MDQ6VXNlcjM5NDM4Mg==", - "avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/bep", - "html_url": "https://github.com/bep", - "followers_url": "https://api.github.com/users/bep/followers", - "following_url": "https://api.github.com/users/bep/following{/other_user}", - "gists_url": "https://api.github.com/users/bep/gists{/gist_id}", - "starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/bep/subscriptions", - "organizations_url": "https://api.github.com/users/bep/orgs", - "repos_url": "https://api.github.com/users/bep/repos", - "events_url": "https://api.github.com/users/bep/events{/privacy}", - "received_events_url": "https://api.github.com/users/bep/received_events", - "type": "User", - "site_admin": false - }, - "content_type": "application/gzip", - "state": "uploaded", - "size": 12322903, - "download_count": 9, - "created_at": "2020-01-05T18:58:50Z", - "updated_at": "2020-01-05T18:58:50Z", - "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_0.62.2_OpenBSD-ARM.tar.gz" - }, - { - "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152862", - "id": 17152862, - "node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODYy", - "name": "hugo_0.62.2_Windows-32bit.zip", - "label": "", - "uploader": { - "login": "bep", - "id": 394382, - "node_id": "MDQ6VXNlcjM5NDM4Mg==", - "avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/bep", - "html_url": "https://github.com/bep", - "followers_url": "https://api.github.com/users/bep/followers", - "following_url": "https://api.github.com/users/bep/following{/other_user}", - "gists_url": "https://api.github.com/users/bep/gists{/gist_id}", - "starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/bep/subscriptions", - "organizations_url": "https://api.github.com/users/bep/orgs", - "repos_url": "https://api.github.com/users/bep/repos", - "events_url": "https://api.github.com/users/bep/events{/privacy}", - "received_events_url": "https://api.github.com/users/bep/received_events", - "type": "User", - "site_admin": false - }, - "content_type": "application/zip", - "state": "uploaded", - "size": 12221573, - "download_count": 154, - "created_at": "2020-01-05T18:58:49Z", - "updated_at": "2020-01-05T18:58:50Z", - "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_0.62.2_Windows-32bit.zip" - }, - { - "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152865", - "id": 17152865, - "node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODY1", - "name": "hugo_0.62.2_Windows-64bit.zip", - "label": "", - "uploader": { - "login": "bep", - "id": 394382, - "node_id": "MDQ6VXNlcjM5NDM4Mg==", - "avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/bep", - "html_url": "https://github.com/bep", - "followers_url": "https://api.github.com/users/bep/followers", - "following_url": "https://api.github.com/users/bep/following{/other_user}", - "gists_url": "https://api.github.com/users/bep/gists{/gist_id}", - "starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/bep/subscriptions", - "organizations_url": "https://api.github.com/users/bep/orgs", - "repos_url": "https://api.github.com/users/bep/repos", - "events_url": "https://api.github.com/users/bep/events{/privacy}", - "received_events_url": "https://api.github.com/users/bep/received_events", - "type": "User", - "site_admin": false - }, - "content_type": "application/zip", - "state": "uploaded", - "size": 13265631, - "download_count": 7902, - "created_at": "2020-01-05T18:58:50Z", - "updated_at": "2020-01-05T18:58:50Z", - "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_0.62.2_Windows-64bit.zip" - }, - { - "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152859", - "id": 17152859, - "node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODU5", - "name": "hugo_extended_0.62.2_Linux-64bit.deb", - "label": "", - "uploader": { - "login": "bep", - "id": 394382, - "node_id": "MDQ6VXNlcjM5NDM4Mg==", - "avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4", + "avatar_url": "https://avatars.githubusercontent.com/u/394382?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bep", "html_url": "https://github.com/bep", @@ -843,23 +265,23 @@ }, "content_type": "application/x-debian-package", "state": "uploaded", - "size": 14137254, - "download_count": 855, - "created_at": "2020-01-05T18:58:49Z", - "updated_at": "2020-01-05T18:58:49Z", - "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_extended_0.62.2_Linux-64bit.deb" + "size": 12803672, + "download_count": 93, + "created_at": "2021-05-02T15:28:38Z", + "updated_at": "2021-05-02T15:28:39Z", + "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.83.1/hugo_0.83.1_Linux-32bit.deb" }, { - "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152844", - "id": 17152844, - "node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODQ0", - "name": "hugo_extended_0.62.2_Linux-64bit.tar.gz", + "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/36229524", + "id": 36229524, + "node_id": "MDEyOlJlbGVhc2VBc3NldDM2MjI5NTI0", + "name": "hugo_0.83.1_Linux-32bit.tar.gz", "label": "", "uploader": { "login": "bep", "id": 394382, "node_id": "MDQ6VXNlcjM5NDM4Mg==", - "avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4", + "avatar_url": "https://avatars.githubusercontent.com/u/394382?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bep", "html_url": "https://github.com/bep", @@ -877,23 +299,57 @@ }, "content_type": "application/gzip", "state": "uploaded", - "size": 14145652, - "download_count": 5218, - "created_at": "2020-01-05T18:58:47Z", - "updated_at": "2020-01-05T18:58:47Z", - "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_extended_0.62.2_Linux-64bit.tar.gz" + "size": 12778919, + "download_count": 104, + "created_at": "2021-05-02T15:28:35Z", + "updated_at": "2021-05-02T15:28:35Z", + "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.83.1/hugo_0.83.1_Linux-32bit.tar.gz" }, { - "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152852", - "id": 17152852, - "node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODUy", - "name": "hugo_extended_0.62.2_macOS-64bit.tar.gz", + "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/36229534", + "id": 36229534, + "node_id": "MDEyOlJlbGVhc2VBc3NldDM2MjI5NTM0", + "name": "hugo_0.83.1_Linux-64bit.deb", "label": "", "uploader": { "login": "bep", "id": 394382, "node_id": "MDQ6VXNlcjM5NDM4Mg==", - "avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4", + "avatar_url": "https://avatars.githubusercontent.com/u/394382?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bep", + "html_url": "https://github.com/bep", + "followers_url": "https://api.github.com/users/bep/followers", + "following_url": "https://api.github.com/users/bep/following{/other_user}", + "gists_url": "https://api.github.com/users/bep/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bep/subscriptions", + "organizations_url": "https://api.github.com/users/bep/orgs", + "repos_url": "https://api.github.com/users/bep/repos", + "events_url": "https://api.github.com/users/bep/events{/privacy}", + "received_events_url": "https://api.github.com/users/bep/received_events", + "type": "User", + "site_admin": false + }, + "content_type": "application/x-debian-package", + "state": "uploaded", + "size": 13945990, + "download_count": 1754, + "created_at": "2021-05-02T15:28:38Z", + "updated_at": "2021-05-02T15:28:38Z", + "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.83.1/hugo_0.83.1_Linux-64bit.deb" + }, + { + "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/36229515", + "id": 36229515, + "node_id": "MDEyOlJlbGVhc2VBc3NldDM2MjI5NTE1", + "name": "hugo_0.83.1_Linux-64bit.tar.gz", + "label": "", + "uploader": { + "login": "bep", + "id": 394382, + "node_id": "MDQ6VXNlcjM5NDM4Mg==", + "avatar_url": "https://avatars.githubusercontent.com/u/394382?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bep", "html_url": "https://github.com/bep", @@ -911,23 +367,465 @@ }, "content_type": "application/gzip", "state": "uploaded", - "size": 14784660, - "download_count": 628, - "created_at": "2020-01-05T18:58:47Z", - "updated_at": "2020-01-05T18:58:48Z", - "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_extended_0.62.2_macOS-64bit.tar.gz" + "size": 13899692, + "download_count": 15690, + "created_at": "2021-05-02T15:28:33Z", + "updated_at": "2021-05-02T15:28:33Z", + "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.83.1/hugo_0.83.1_Linux-64bit.tar.gz" }, { - "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/17152853", - "id": 17152853, - "node_id": "MDEyOlJlbGVhc2VBc3NldDE3MTUyODUz", - "name": "hugo_extended_0.62.2_Windows-64bit.zip", + "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/36229535", + "id": 36229535, + "node_id": "MDEyOlJlbGVhc2VBc3NldDM2MjI5NTM1", + "name": "hugo_0.83.1_Linux-ARM.deb", "label": "", "uploader": { "login": "bep", "id": 394382, "node_id": "MDQ6VXNlcjM5NDM4Mg==", - "avatar_url": "https://avatars1.githubusercontent.com/u/394382?v=4", + "avatar_url": "https://avatars.githubusercontent.com/u/394382?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bep", + "html_url": "https://github.com/bep", + "followers_url": "https://api.github.com/users/bep/followers", + "following_url": "https://api.github.com/users/bep/following{/other_user}", + "gists_url": "https://api.github.com/users/bep/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bep/subscriptions", + "organizations_url": "https://api.github.com/users/bep/orgs", + "repos_url": "https://api.github.com/users/bep/repos", + "events_url": "https://api.github.com/users/bep/events{/privacy}", + "received_events_url": "https://api.github.com/users/bep/received_events", + "type": "User", + "site_admin": false + }, + "content_type": "application/x-debian-package", + "state": "uploaded", + "size": 13031694, + "download_count": 115, + "created_at": "2021-05-02T15:28:38Z", + "updated_at": "2021-05-02T15:28:38Z", + "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.83.1/hugo_0.83.1_Linux-ARM.deb" + }, + { + "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/36229521", + "id": 36229521, + "node_id": "MDEyOlJlbGVhc2VBc3NldDM2MjI5NTIx", + "name": "hugo_0.83.1_Linux-ARM.tar.gz", + "label": "", + "uploader": { + "login": "bep", + "id": 394382, + "node_id": "MDQ6VXNlcjM5NDM4Mg==", + "avatar_url": "https://avatars.githubusercontent.com/u/394382?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bep", + "html_url": "https://github.com/bep", + "followers_url": "https://api.github.com/users/bep/followers", + "following_url": "https://api.github.com/users/bep/following{/other_user}", + "gists_url": "https://api.github.com/users/bep/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bep/subscriptions", + "organizations_url": "https://api.github.com/users/bep/orgs", + "repos_url": "https://api.github.com/users/bep/repos", + "events_url": "https://api.github.com/users/bep/events{/privacy}", + "received_events_url": "https://api.github.com/users/bep/received_events", + "type": "User", + "site_admin": false + }, + "content_type": "application/gzip", + "state": "uploaded", + "size": 13011706, + "download_count": 85, + "created_at": "2021-05-02T15:28:34Z", + "updated_at": "2021-05-02T15:28:35Z", + "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.83.1/hugo_0.83.1_Linux-ARM.tar.gz" + }, + { + "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/36229532", + "id": 36229532, + "node_id": "MDEyOlJlbGVhc2VBc3NldDM2MjI5NTMy", + "name": "hugo_0.83.1_Linux-ARM64.deb", + "label": "", + "uploader": { + "login": "bep", + "id": 394382, + "node_id": "MDQ6VXNlcjM5NDM4Mg==", + "avatar_url": "https://avatars.githubusercontent.com/u/394382?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bep", + "html_url": "https://github.com/bep", + "followers_url": "https://api.github.com/users/bep/followers", + "following_url": "https://api.github.com/users/bep/following{/other_user}", + "gists_url": "https://api.github.com/users/bep/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bep/subscriptions", + "organizations_url": "https://api.github.com/users/bep/orgs", + "repos_url": "https://api.github.com/users/bep/repos", + "events_url": "https://api.github.com/users/bep/events{/privacy}", + "received_events_url": "https://api.github.com/users/bep/received_events", + "type": "User", + "site_admin": false + }, + "content_type": "application/x-debian-package", + "state": "uploaded", + "size": 12672516, + "download_count": 154, + "created_at": "2021-05-02T15:28:37Z", + "updated_at": "2021-05-02T15:28:38Z", + "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.83.1/hugo_0.83.1_Linux-ARM64.deb" + }, + { + "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/36229538", + "id": 36229538, + "node_id": "MDEyOlJlbGVhc2VBc3NldDM2MjI5NTM4", + "name": "hugo_0.83.1_Linux-ARM64.tar.gz", + "label": "", + "uploader": { + "login": "bep", + "id": 394382, + "node_id": "MDQ6VXNlcjM5NDM4Mg==", + "avatar_url": "https://avatars.githubusercontent.com/u/394382?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bep", + "html_url": "https://github.com/bep", + "followers_url": "https://api.github.com/users/bep/followers", + "following_url": "https://api.github.com/users/bep/following{/other_user}", + "gists_url": "https://api.github.com/users/bep/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bep/subscriptions", + "organizations_url": "https://api.github.com/users/bep/orgs", + "repos_url": "https://api.github.com/users/bep/repos", + "events_url": "https://api.github.com/users/bep/events{/privacy}", + "received_events_url": "https://api.github.com/users/bep/received_events", + "type": "User", + "site_admin": false + }, + "content_type": "application/gzip", + "state": "uploaded", + "size": 12642750, + "download_count": 160, + "created_at": "2021-05-02T15:28:39Z", + "updated_at": "2021-05-02T15:28:39Z", + "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.83.1/hugo_0.83.1_Linux-ARM64.tar.gz" + }, + { + "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/36229520", + "id": 36229520, + "node_id": "MDEyOlJlbGVhc2VBc3NldDM2MjI5NTIw", + "name": "hugo_0.83.1_macOS-64bit.tar.gz", + "label": "", + "uploader": { + "login": "bep", + "id": 394382, + "node_id": "MDQ6VXNlcjM5NDM4Mg==", + "avatar_url": "https://avatars.githubusercontent.com/u/394382?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bep", + "html_url": "https://github.com/bep", + "followers_url": "https://api.github.com/users/bep/followers", + "following_url": "https://api.github.com/users/bep/following{/other_user}", + "gists_url": "https://api.github.com/users/bep/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bep/subscriptions", + "organizations_url": "https://api.github.com/users/bep/orgs", + "repos_url": "https://api.github.com/users/bep/repos", + "events_url": "https://api.github.com/users/bep/events{/privacy}", + "received_events_url": "https://api.github.com/users/bep/received_events", + "type": "User", + "site_admin": false + }, + "content_type": "application/gzip", + "state": "uploaded", + "size": 14424026, + "download_count": 515, + "created_at": "2021-05-02T15:28:34Z", + "updated_at": "2021-05-02T15:28:35Z", + "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.83.1/hugo_0.83.1_macOS-64bit.tar.gz" + }, + { + "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/36229529", + "id": 36229529, + "node_id": "MDEyOlJlbGVhc2VBc3NldDM2MjI5NTI5", + "name": "hugo_0.83.1_macOS-ARM64.tar.gz", + "label": "", + "uploader": { + "login": "bep", + "id": 394382, + "node_id": "MDQ6VXNlcjM5NDM4Mg==", + "avatar_url": "https://avatars.githubusercontent.com/u/394382?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bep", + "html_url": "https://github.com/bep", + "followers_url": "https://api.github.com/users/bep/followers", + "following_url": "https://api.github.com/users/bep/following{/other_user}", + "gists_url": "https://api.github.com/users/bep/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bep/subscriptions", + "organizations_url": "https://api.github.com/users/bep/orgs", + "repos_url": "https://api.github.com/users/bep/repos", + "events_url": "https://api.github.com/users/bep/events{/privacy}", + "received_events_url": "https://api.github.com/users/bep/received_events", + "type": "User", + "site_admin": false + }, + "content_type": "application/gzip", + "state": "uploaded", + "size": 14100428, + "download_count": 120, + "created_at": "2021-05-02T15:28:36Z", + "updated_at": "2021-05-02T15:28:37Z", + "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.83.1/hugo_0.83.1_macOS-ARM64.tar.gz" + }, + { + "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/36229514", + "id": 36229514, + "node_id": "MDEyOlJlbGVhc2VBc3NldDM2MjI5NTE0", + "name": "hugo_0.83.1_NetBSD-32bit.tar.gz", + "label": "", + "uploader": { + "login": "bep", + "id": 394382, + "node_id": "MDQ6VXNlcjM5NDM4Mg==", + "avatar_url": "https://avatars.githubusercontent.com/u/394382?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bep", + "html_url": "https://github.com/bep", + "followers_url": "https://api.github.com/users/bep/followers", + "following_url": "https://api.github.com/users/bep/following{/other_user}", + "gists_url": "https://api.github.com/users/bep/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bep/subscriptions", + "organizations_url": "https://api.github.com/users/bep/orgs", + "repos_url": "https://api.github.com/users/bep/repos", + "events_url": "https://api.github.com/users/bep/events{/privacy}", + "received_events_url": "https://api.github.com/users/bep/received_events", + "type": "User", + "site_admin": false + }, + "content_type": "application/gzip", + "state": "uploaded", + "size": 12750985, + "download_count": 62, + "created_at": "2021-05-02T15:28:33Z", + "updated_at": "2021-05-02T15:28:33Z", + "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.83.1/hugo_0.83.1_NetBSD-32bit.tar.gz" + }, + { + "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/36229526", + "id": 36229526, + "node_id": "MDEyOlJlbGVhc2VBc3NldDM2MjI5NTI2", + "name": "hugo_0.83.1_NetBSD-64bit.tar.gz", + "label": "", + "uploader": { + "login": "bep", + "id": 394382, + "node_id": "MDQ6VXNlcjM5NDM4Mg==", + "avatar_url": "https://avatars.githubusercontent.com/u/394382?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bep", + "html_url": "https://github.com/bep", + "followers_url": "https://api.github.com/users/bep/followers", + "following_url": "https://api.github.com/users/bep/following{/other_user}", + "gists_url": "https://api.github.com/users/bep/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bep/subscriptions", + "organizations_url": "https://api.github.com/users/bep/orgs", + "repos_url": "https://api.github.com/users/bep/repos", + "events_url": "https://api.github.com/users/bep/events{/privacy}", + "received_events_url": "https://api.github.com/users/bep/received_events", + "type": "User", + "site_admin": false + }, + "content_type": "application/gzip", + "state": "uploaded", + "size": 13890041, + "download_count": 63, + "created_at": "2021-05-02T15:28:36Z", + "updated_at": "2021-05-02T15:28:36Z", + "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.83.1/hugo_0.83.1_NetBSD-64bit.tar.gz" + }, + { + "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/36229512", + "id": 36229512, + "node_id": "MDEyOlJlbGVhc2VBc3NldDM2MjI5NTEy", + "name": "hugo_0.83.1_NetBSD-ARM.tar.gz", + "label": "", + "uploader": { + "login": "bep", + "id": 394382, + "node_id": "MDQ6VXNlcjM5NDM4Mg==", + "avatar_url": "https://avatars.githubusercontent.com/u/394382?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bep", + "html_url": "https://github.com/bep", + "followers_url": "https://api.github.com/users/bep/followers", + "following_url": "https://api.github.com/users/bep/following{/other_user}", + "gists_url": "https://api.github.com/users/bep/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bep/subscriptions", + "organizations_url": "https://api.github.com/users/bep/orgs", + "repos_url": "https://api.github.com/users/bep/repos", + "events_url": "https://api.github.com/users/bep/events{/privacy}", + "received_events_url": "https://api.github.com/users/bep/received_events", + "type": "User", + "site_admin": false + }, + "content_type": "application/gzip", + "state": "uploaded", + "size": 13002251, + "download_count": 64, + "created_at": "2021-05-02T15:28:32Z", + "updated_at": "2021-05-02T15:28:33Z", + "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.83.1/hugo_0.83.1_NetBSD-ARM.tar.gz" + }, + { + "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/36229516", + "id": 36229516, + "node_id": "MDEyOlJlbGVhc2VBc3NldDM2MjI5NTE2", + "name": "hugo_0.83.1_OpenBSD-32bit.tar.gz", + "label": "", + "uploader": { + "login": "bep", + "id": 394382, + "node_id": "MDQ6VXNlcjM5NDM4Mg==", + "avatar_url": "https://avatars.githubusercontent.com/u/394382?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bep", + "html_url": "https://github.com/bep", + "followers_url": "https://api.github.com/users/bep/followers", + "following_url": "https://api.github.com/users/bep/following{/other_user}", + "gists_url": "https://api.github.com/users/bep/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bep/subscriptions", + "organizations_url": "https://api.github.com/users/bep/orgs", + "repos_url": "https://api.github.com/users/bep/repos", + "events_url": "https://api.github.com/users/bep/events{/privacy}", + "received_events_url": "https://api.github.com/users/bep/received_events", + "type": "User", + "site_admin": false + }, + "content_type": "application/gzip", + "state": "uploaded", + "size": 12753247, + "download_count": 64, + "created_at": "2021-05-02T15:28:33Z", + "updated_at": "2021-05-02T15:28:34Z", + "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.83.1/hugo_0.83.1_OpenBSD-32bit.tar.gz" + }, + { + "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/36229522", + "id": 36229522, + "node_id": "MDEyOlJlbGVhc2VBc3NldDM2MjI5NTIy", + "name": "hugo_0.83.1_OpenBSD-64bit.tar.gz", + "label": "", + "uploader": { + "login": "bep", + "id": 394382, + "node_id": "MDQ6VXNlcjM5NDM4Mg==", + "avatar_url": "https://avatars.githubusercontent.com/u/394382?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bep", + "html_url": "https://github.com/bep", + "followers_url": "https://api.github.com/users/bep/followers", + "following_url": "https://api.github.com/users/bep/following{/other_user}", + "gists_url": "https://api.github.com/users/bep/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bep/subscriptions", + "organizations_url": "https://api.github.com/users/bep/orgs", + "repos_url": "https://api.github.com/users/bep/repos", + "events_url": "https://api.github.com/users/bep/events{/privacy}", + "received_events_url": "https://api.github.com/users/bep/received_events", + "type": "User", + "site_admin": false + }, + "content_type": "application/gzip", + "state": "uploaded", + "size": 13901610, + "download_count": 69, + "created_at": "2021-05-02T15:28:35Z", + "updated_at": "2021-05-02T15:28:35Z", + "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.83.1/hugo_0.83.1_OpenBSD-64bit.tar.gz" + }, + { + "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/36229528", + "id": 36229528, + "node_id": "MDEyOlJlbGVhc2VBc3NldDM2MjI5NTI4", + "name": "hugo_0.83.1_OpenBSD-ARM.tar.gz", + "label": "", + "uploader": { + "login": "bep", + "id": 394382, + "node_id": "MDQ6VXNlcjM5NDM4Mg==", + "avatar_url": "https://avatars.githubusercontent.com/u/394382?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bep", + "html_url": "https://github.com/bep", + "followers_url": "https://api.github.com/users/bep/followers", + "following_url": "https://api.github.com/users/bep/following{/other_user}", + "gists_url": "https://api.github.com/users/bep/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bep/subscriptions", + "organizations_url": "https://api.github.com/users/bep/orgs", + "repos_url": "https://api.github.com/users/bep/repos", + "events_url": "https://api.github.com/users/bep/events{/privacy}", + "received_events_url": "https://api.github.com/users/bep/received_events", + "type": "User", + "site_admin": false + }, + "content_type": "application/gzip", + "state": "uploaded", + "size": 13001146, + "download_count": 65, + "created_at": "2021-05-02T15:28:36Z", + "updated_at": "2021-05-02T15:28:37Z", + "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.83.1/hugo_0.83.1_OpenBSD-ARM.tar.gz" + }, + { + "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/36229527", + "id": 36229527, + "node_id": "MDEyOlJlbGVhc2VBc3NldDM2MjI5NTI3", + "name": "hugo_0.83.1_OpenBSD-ARM64.tar.gz", + "label": "", + "uploader": { + "login": "bep", + "id": 394382, + "node_id": "MDQ6VXNlcjM5NDM4Mg==", + "avatar_url": "https://avatars.githubusercontent.com/u/394382?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bep", + "html_url": "https://github.com/bep", + "followers_url": "https://api.github.com/users/bep/followers", + "following_url": "https://api.github.com/users/bep/following{/other_user}", + "gists_url": "https://api.github.com/users/bep/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bep/subscriptions", + "organizations_url": "https://api.github.com/users/bep/orgs", + "repos_url": "https://api.github.com/users/bep/repos", + "events_url": "https://api.github.com/users/bep/events{/privacy}", + "received_events_url": "https://api.github.com/users/bep/received_events", + "type": "User", + "site_admin": false + }, + "content_type": "application/gzip", + "state": "uploaded", + "size": 12566925, + "download_count": 59, + "created_at": "2021-05-02T15:28:36Z", + "updated_at": "2021-05-02T15:28:40Z", + "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.83.1/hugo_0.83.1_OpenBSD-ARM64.tar.gz" + }, + { + "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/36229517", + "id": 36229517, + "node_id": "MDEyOlJlbGVhc2VBc3NldDM2MjI5NTE3", + "name": "hugo_0.83.1_Windows-32bit.zip", + "label": "", + "uploader": { + "login": "bep", + "id": 394382, + "node_id": "MDQ6VXNlcjM5NDM4Mg==", + "avatar_url": "https://avatars.githubusercontent.com/u/394382?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bep", "html_url": "https://github.com/bep", @@ -945,14 +843,218 @@ }, "content_type": "application/zip", "state": "uploaded", - "size": 30553922, - "download_count": 3681, - "created_at": "2020-01-05T18:58:48Z", - "updated_at": "2020-01-05T18:58:49Z", - "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_extended_0.62.2_Windows-64bit.zip" + "size": 12809641, + "download_count": 276, + "created_at": "2021-05-02T15:28:33Z", + "updated_at": "2021-05-02T15:28:34Z", + "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.83.1/hugo_0.83.1_Windows-32bit.zip" + }, + { + "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/36229533", + "id": 36229533, + "node_id": "MDEyOlJlbGVhc2VBc3NldDM2MjI5NTMz", + "name": "hugo_0.83.1_Windows-64bit.zip", + "label": "", + "uploader": { + "login": "bep", + "id": 394382, + "node_id": "MDQ6VXNlcjM5NDM4Mg==", + "avatar_url": "https://avatars.githubusercontent.com/u/394382?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bep", + "html_url": "https://github.com/bep", + "followers_url": "https://api.github.com/users/bep/followers", + "following_url": "https://api.github.com/users/bep/following{/other_user}", + "gists_url": "https://api.github.com/users/bep/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bep/subscriptions", + "organizations_url": "https://api.github.com/users/bep/orgs", + "repos_url": "https://api.github.com/users/bep/repos", + "events_url": "https://api.github.com/users/bep/events{/privacy}", + "received_events_url": "https://api.github.com/users/bep/received_events", + "type": "User", + "site_admin": false + }, + "content_type": "application/zip", + "state": "uploaded", + "size": 13982494, + "download_count": 5215, + "created_at": "2021-05-02T15:28:37Z", + "updated_at": "2021-05-02T15:28:38Z", + "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.83.1/hugo_0.83.1_Windows-64bit.zip" + }, + { + "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/36229537", + "id": 36229537, + "node_id": "MDEyOlJlbGVhc2VBc3NldDM2MjI5NTM3", + "name": "hugo_extended_0.83.1_Linux-64bit.deb", + "label": "", + "uploader": { + "login": "bep", + "id": 394382, + "node_id": "MDQ6VXNlcjM5NDM4Mg==", + "avatar_url": "https://avatars.githubusercontent.com/u/394382?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bep", + "html_url": "https://github.com/bep", + "followers_url": "https://api.github.com/users/bep/followers", + "following_url": "https://api.github.com/users/bep/following{/other_user}", + "gists_url": "https://api.github.com/users/bep/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bep/subscriptions", + "organizations_url": "https://api.github.com/users/bep/orgs", + "repos_url": "https://api.github.com/users/bep/repos", + "events_url": "https://api.github.com/users/bep/events{/privacy}", + "received_events_url": "https://api.github.com/users/bep/received_events", + "type": "User", + "site_admin": false + }, + "content_type": "application/x-debian-package", + "state": "uploaded", + "size": 15152386, + "download_count": 2274, + "created_at": "2021-05-02T15:28:39Z", + "updated_at": "2021-05-02T15:28:39Z", + "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.83.1/hugo_extended_0.83.1_Linux-64bit.deb" + }, + { + "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/36229531", + "id": 36229531, + "node_id": "MDEyOlJlbGVhc2VBc3NldDM2MjI5NTMx", + "name": "hugo_extended_0.83.1_Linux-64bit.tar.gz", + "label": "", + "uploader": { + "login": "bep", + "id": 394382, + "node_id": "MDQ6VXNlcjM5NDM4Mg==", + "avatar_url": "https://avatars.githubusercontent.com/u/394382?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bep", + "html_url": "https://github.com/bep", + "followers_url": "https://api.github.com/users/bep/followers", + "following_url": "https://api.github.com/users/bep/following{/other_user}", + "gists_url": "https://api.github.com/users/bep/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bep/subscriptions", + "organizations_url": "https://api.github.com/users/bep/orgs", + "repos_url": "https://api.github.com/users/bep/repos", + "events_url": "https://api.github.com/users/bep/events{/privacy}", + "received_events_url": "https://api.github.com/users/bep/received_events", + "type": "User", + "site_admin": false + }, + "content_type": "application/gzip", + "state": "uploaded", + "size": 15104310, + "download_count": 22650, + "created_at": "2021-05-02T15:28:37Z", + "updated_at": "2021-05-02T15:28:37Z", + "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.83.1/hugo_extended_0.83.1_Linux-64bit.tar.gz" + }, + { + "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/36229513", + "id": 36229513, + "node_id": "MDEyOlJlbGVhc2VBc3NldDM2MjI5NTEz", + "name": "hugo_extended_0.83.1_macOS-64bit.tar.gz", + "label": "", + "uploader": { + "login": "bep", + "id": 394382, + "node_id": "MDQ6VXNlcjM5NDM4Mg==", + "avatar_url": "https://avatars.githubusercontent.com/u/394382?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bep", + "html_url": "https://github.com/bep", + "followers_url": "https://api.github.com/users/bep/followers", + "following_url": "https://api.github.com/users/bep/following{/other_user}", + "gists_url": "https://api.github.com/users/bep/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bep/subscriptions", + "organizations_url": "https://api.github.com/users/bep/orgs", + "repos_url": "https://api.github.com/users/bep/repos", + "events_url": "https://api.github.com/users/bep/events{/privacy}", + "received_events_url": "https://api.github.com/users/bep/received_events", + "type": "User", + "site_admin": false + }, + "content_type": "application/gzip", + "state": "uploaded", + "size": 15729612, + "download_count": 2363, + "created_at": "2021-05-02T15:28:33Z", + "updated_at": "2021-05-02T15:28:33Z", + "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.83.1/hugo_extended_0.83.1_macOS-64bit.tar.gz" + }, + { + "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/36229510", + "id": 36229510, + "node_id": "MDEyOlJlbGVhc2VBc3NldDM2MjI5NTEw", + "name": "hugo_extended_0.83.1_macOS-ARM64.tar.gz", + "label": "", + "uploader": { + "login": "bep", + "id": 394382, + "node_id": "MDQ6VXNlcjM5NDM4Mg==", + "avatar_url": "https://avatars.githubusercontent.com/u/394382?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bep", + "html_url": "https://github.com/bep", + "followers_url": "https://api.github.com/users/bep/followers", + "following_url": "https://api.github.com/users/bep/following{/other_user}", + "gists_url": "https://api.github.com/users/bep/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bep/subscriptions", + "organizations_url": "https://api.github.com/users/bep/orgs", + "repos_url": "https://api.github.com/users/bep/repos", + "events_url": "https://api.github.com/users/bep/events{/privacy}", + "received_events_url": "https://api.github.com/users/bep/received_events", + "type": "User", + "site_admin": false + }, + "content_type": "application/gzip", + "state": "uploaded", + "size": 14632745, + "download_count": 128, + "created_at": "2021-05-02T15:28:32Z", + "updated_at": "2021-05-02T15:28:33Z", + "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.83.1/hugo_extended_0.83.1_macOS-ARM64.tar.gz" + }, + { + "url": "https://api.github.com/repos/gohugoio/hugo/releases/assets/36229530", + "id": 36229530, + "node_id": "MDEyOlJlbGVhc2VBc3NldDM2MjI5NTMw", + "name": "hugo_extended_0.83.1_Windows-64bit.zip", + "label": "", + "uploader": { + "login": "bep", + "id": 394382, + "node_id": "MDQ6VXNlcjM5NDM4Mg==", + "avatar_url": "https://avatars.githubusercontent.com/u/394382?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bep", + "html_url": "https://github.com/bep", + "followers_url": "https://api.github.com/users/bep/followers", + "following_url": "https://api.github.com/users/bep/following{/other_user}", + "gists_url": "https://api.github.com/users/bep/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bep/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bep/subscriptions", + "organizations_url": "https://api.github.com/users/bep/orgs", + "repos_url": "https://api.github.com/users/bep/repos", + "events_url": "https://api.github.com/users/bep/events{/privacy}", + "received_events_url": "https://api.github.com/users/bep/received_events", + "type": "User", + "site_admin": false + }, + "content_type": "application/zip", + "state": "uploaded", + "size": 15351802, + "download_count": 5509, + "created_at": "2021-05-02T15:28:37Z", + "updated_at": "2021-05-02T15:28:37Z", + "browser_download_url": "https://github.com/gohugoio/hugo/releases/download/v0.83.1/hugo_extended_0.83.1_Windows-64bit.zip" } ], - "tarball_url": "https://api.github.com/repos/gohugoio/hugo/tarball/v0.62.2", - "zipball_url": "https://api.github.com/repos/gohugoio/hugo/zipball/v0.62.2", - "body": "The main driving force behind these patch releases in the new year has been getting a good story with [portable links](https://github.com/bep/portable-hugo-links/) between GitHub and Hugo, using the new render hooks introduced in [Hugo 0.62.0](https://gohugo.io/news/0.62.0-relnotes/). And all was mostly well until a Hugo user asked about anchor links. Which is, when you look into it, a slightly sad Markdown story. They have been [talking about anchors in Markdown](https://talk.commonmark.org/t/anchors-in-markdown/247) over at the CommonMark forum for the last six years, but it has come to nothing. The current situation is that some Markdown engines support the `{#anchorName}` attribute syntax (Hugo's Goldmark does, GitHub does not) and for those that support auto-generation of IDs, the implementation often varies. And this makes for poor portability.\r\n\r\nTo improve this, Hugo has now reverse-engineered GitHub's implementation and made that the default strategy for generation or header IDs. We understand that this isn't everyone's cup of tea, so you can [configure the behaviour](https://gohugo.io/getting-started/configuration-markup#goldmark) to be one of `github`, `github-ascii` (some client-libraries have Unicode issues) or `blackfriday` (which will match how it behaved before Hugo 0.60).\r\n\r\n* hugolib: Fix relative .Page.GetPage from bundle [196a9df5](https://github.com/gohugoio/hugo/commit/196a9df585c4744e3280f37c1c24e469fce14b8c) [@bep](https://github.com/bep) [#6705](https://github.com/gohugoio/hugo/issues/6705)\r\n* markup/goldmark: Adjust auto ID space handling [9b6e6146](https://github.com/gohugoio/hugo/commit/9b6e61464b09ffe3423fb8d7c72bddb7a9ed5b98) [@bep](https://github.com/bep) [#6710](https://github.com/gohugoio/hugo/issues/6710)\r\n* docs: Document the new autoHeadingIDType setting [d62ede8e](https://github.com/gohugoio/hugo/commit/d62ede8e9e5883e7ebb023e49b82f07b45edc1c7) [@bep](https://github.com/bep) [#6707](https://github.com/gohugoio/hugo/issues/6707)[#6616](https://github.com/gohugoio/hugo/issues/6616)\r\n* docs: Regenerate docshelper [81b7e48a](https://github.com/gohugoio/hugo/commit/81b7e48a55092203aeee8785799e6fed3928760e) [@bep](https://github.com/bep) [#6707](https://github.com/gohugoio/hugo/issues/6707)[#6616](https://github.com/gohugoio/hugo/issues/6616)\r\n* markup/goldmark: Add an optional Blackfriday auto ID strategy [16e7c112](https://github.com/gohugoio/hugo/commit/16e7c1120346bd853cf6510ffac8e94824bf2c7f) [@bep](https://github.com/bep) [#6707](https://github.com/gohugoio/hugo/issues/6707)\r\n* markup/goldmark: Make the autoID type config a string [8f071fc1](https://github.com/gohugoio/hugo/commit/8f071fc159ce9a0fc0ea14a73bde8f299bedd109) [@bep](https://github.com/bep) [#6707](https://github.com/gohugoio/hugo/issues/6707)\r\n* markup/goldmark: Simplify code [5ee1f087](https://github.com/gohugoio/hugo/commit/5ee1f0876f3ec8b79d6305298185dc821ead2d28) [@bep](https://github.com/bep) \r\n* markup/goldmark: Make auto IDs GitHub compatible [a82d2700](https://github.com/gohugoio/hugo/commit/a82d2700fcc772aada15d65b8f76913ca23f7404) [@bep](https://github.com/bep) [#6616](https://github.com/gohugoio/hugo/issues/6616)\r\n\r\n\r\n\r\n\r\n" + "tarball_url": "https://api.github.com/repos/gohugoio/hugo/tarball/v0.83.1", + "zipball_url": "https://api.github.com/repos/gohugoio/hugo/zipball/v0.83.1", + "body": "\r\n\r\nThis is a bug-fix release with one important fix.\r\n\r\n* langs/i18n: Fix warning regression in i18n [ececd1b1](https://github.com/gohugoio/hugo/commit/ececd1b122c741567a80acd8d60ccd6356fa5323) [@bep](https://github.com/bep) [#8492](https://github.com/gohugoio/hugo/issues/8492)\r\n\r\n\r\n\r\n\r\n" } diff --git a/__tests__/get-arch.test.ts b/__tests__/get-arch.test.ts new file mode 100644 index 0000000..54dbb86 --- /dev/null +++ b/__tests__/get-arch.test.ts @@ -0,0 +1,15 @@ +import getArch from '../src/get-arch'; + +describe('getArch', () => { + test('processor architecture', () => { + expect(getArch('x64')).toBe('64bit'); + expect(getArch('arm')).toBe('ARM'); + expect(getArch('arm64')).toBe('ARM64'); + }); + + test('exception', () => { + expect(() => { + getArch('mips'); + }).toThrowError('mips is not supported'); + }); +}); diff --git a/__tests__/get-url.test.ts b/__tests__/get-url.test.ts index d259be7..89c22b4 100644 --- a/__tests__/get-url.test.ts +++ b/__tests__/get-url.test.ts @@ -6,13 +6,15 @@ describe('getURL()', () => { const urlLinux = `${baseURL}/hugo_0.58.2_Linux-64bit.tar.gz`; const urlLinuxExtended = `${baseURL}/hugo_extended_0.58.2_Linux-64bit.tar.gz`; const urlMacOS = `${baseURL}/hugo_0.58.2_macOS-64bit.tar.gz`; + const urlMacOSExtended = `${baseURL}/hugo_extended_0.58.2_macOS-64bit.tar.gz`; const urlWindows = `${baseURL}/hugo_0.58.2_Windows-64bit.zip`; - expect(getURL('Linux', 'false', '0.58.2')).toBe(urlLinux); - expect(getURL('Linux', 'true', '0.58.2')).not.toBe(urlLinux); - expect(getURL('MyOS', 'false', '0.58.2')).not.toBe(urlLinux); - expect(getURL('Linux', 'false', '0.58.1')).not.toBe(urlLinux); - expect(getURL('Linux', 'true', '0.58.2')).toBe(urlLinuxExtended); - expect(getURL('macOS', 'false', '0.58.2')).toBe(urlMacOS); - expect(getURL('Windows', 'false', '0.58.2')).toBe(urlWindows); + expect(getURL('Linux', '64bit', 'false', '0.58.2')).toBe(urlLinux); + expect(getURL('Linux', '64bit', 'true', '0.58.2')).not.toBe(urlLinux); + expect(getURL('MyOS', '64bit', 'false', '0.58.2')).not.toBe(urlLinux); + expect(getURL('Linux', '64bit', 'false', '0.58.1')).not.toBe(urlLinux); + expect(getURL('Linux', '64bit', 'true', '0.58.2')).toBe(urlLinuxExtended); + expect(getURL('macOS', '64bit', 'false', '0.58.2')).toBe(urlMacOS); + expect(getURL('macOS', '64bit', 'true', '0.58.2')).toBe(urlMacOSExtended); + expect(getURL('Windows', '64bit', 'false', '0.58.2')).toBe(urlWindows); }); }); diff --git a/__tests__/main.test.ts b/__tests__/main.test.ts index 0735793..5251d6e 100644 --- a/__tests__/main.test.ts +++ b/__tests__/main.test.ts @@ -27,7 +27,7 @@ describe('Integration testing run()', () => { process.env['INPUT_HUGO-VERSION'] = testVersion; const result: main.ActionResult = await main.run(); expect(result.exitcode).toBe(0); - expect(result.output).toMatch(`Hugo Static Site Generator v${testVersion}`); + expect(result.output).toMatch(`hugo v${testVersion}`); }); test('succeed in installing a custom extended version', async () => { @@ -36,7 +36,7 @@ describe('Integration testing run()', () => { process.env['INPUT_EXTENDED'] = 'true'; const result: main.ActionResult = await main.run(); expect(result.exitcode).toBe(0); - expect(result.output).toMatch(`Hugo Static Site Generator v${testVersion}`); + expect(result.output).toMatch(`hugo v${testVersion}`); expect(result.output).toMatch(`extended`); }); @@ -46,7 +46,7 @@ describe('Integration testing run()', () => { nock('https://formulae.brew.sh').get(`/api/formula/${Tool.Repo}.json`).reply(200, jsonTestBrew); const result: main.ActionResult = await main.run(); expect(result.exitcode).toBe(0); - expect(result.output).toMatch(`Hugo Static Site Generator v${Tool.TestVersionLatest}`); + expect(result.output).toMatch(`hugo v${Tool.TestVersionLatest}`); }); test('succeed in installing the latest extended version', async () => { @@ -56,7 +56,7 @@ describe('Integration testing run()', () => { nock('https://formulae.brew.sh').get(`/api/formula/${Tool.Repo}.json`).reply(200, jsonTestBrew); const result: main.ActionResult = await main.run(); expect(result.exitcode).toBe(0); - expect(result.output).toMatch(`Hugo Static Site Generator v${Tool.TestVersionLatest}`); + expect(result.output).toMatch(`hugo v${Tool.TestVersionLatest}`); expect(result.output).toMatch(`extended`); }); diff --git a/src/constants.ts b/src/constants.ts index b971d5e..d66d36f 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -4,8 +4,8 @@ export enum Tool { Repo = 'hugo', CmdName = 'hugo', CmdOptVersion = 'version', - TestVersionLatest = '0.62.2', - TestVersionSpec = '0.61.0' + TestVersionLatest = '0.83.1', + TestVersionSpec = '0.82.1' } export enum Action { diff --git a/src/get-arch.ts b/src/get-arch.ts new file mode 100644 index 0000000..04e56af --- /dev/null +++ b/src/get-arch.ts @@ -0,0 +1,12 @@ +export default function getArch(arch: string): string { + switch (arch) { + case 'x64': + return '64bit'; + case 'arm': + return 'ARM'; + case 'arm64': + return 'ARM64'; + default: + throw new Error(`${arch} is not supported`); + } +} diff --git a/src/get-os.ts b/src/get-os.ts index 38a2eba..8360089 100644 --- a/src/get-os.ts +++ b/src/get-os.ts @@ -1,11 +1,12 @@ export default function getOS(platform: string): string { - if (platform === 'linux') { - return 'Linux'; - } else if (platform === 'darwin') { - return 'macOS'; - } else if (platform === 'win32') { - return 'Windows'; - } else { - throw new Error(`${platform} is not supported`); + switch (platform) { + case 'linux': + return 'Linux'; + case 'darwin': + return 'macOS'; + case 'win32': + return 'Windows'; + default: + throw new Error(`${platform} is not supported`); } } diff --git a/src/get-url.ts b/src/get-url.ts index 95a5735..63f580c 100644 --- a/src/get-url.ts +++ b/src/get-url.ts @@ -1,4 +1,9 @@ -export default function getURL(os: string, extended: string, version: string): string { +export default function getURL( + os: string, + arch: string, + extended: string, + version: string +): string { const extendedStr = (extended: string): string => { if (extended === 'true') { return 'extended_'; @@ -17,7 +22,7 @@ export default function getURL(os: string, extended: string, version: string): s } }; - const hugoName = `hugo_${extendedStr(extended)}${version}_${os}-64bit`; + const hugoName = `hugo_${extendedStr(extended)}${version}_${os}-${arch}`; const baseURL = 'https://github.com/gohugoio/hugo/releases/download'; const url = `${baseURL}/v${version}/${hugoName}.${ext(os)}`; diff --git a/src/installer.ts b/src/installer.ts index c8c3c22..e3dfd35 100644 --- a/src/installer.ts +++ b/src/installer.ts @@ -2,6 +2,7 @@ import * as core from '@actions/core'; import * as tc from '@actions/tool-cache'; import * as io from '@actions/io'; import getOS from './get-os'; +import getArch from './get-arch'; import getURL from './get-url'; import * as path from 'path'; import {Tool, Action} from './constants'; @@ -49,7 +50,10 @@ export async function installer(version: string): Promise { const osName: string = getOS(process.platform); core.debug(`Operating System: ${osName}`); - const toolURL: string = getURL(osName, extended, version); + const archName: string = getArch(process.arch); + core.debug(`Processor Architecture: ${archName}`); + + const toolURL: string = getURL(osName, archName, extended, version); core.debug(`toolURL: ${toolURL}`); const workDir = await createWorkDir();