mirror of
https://github.com/jimeh/build-emacs-for-macos.git
synced 2026-02-19 10:46:39 +00:00
fix(download): don't use GitHub API to get tarball URL
The API tarball endpoint is subject to API rate limits, while the non-API tarball endpoint is not. This should reduce the risk of rate limit errors for people who don't have a GITHUB_TOKEN environment variable set.
This commit is contained in:
@@ -72,7 +72,7 @@ class Build
|
||||
include Output
|
||||
|
||||
EMACS_MIRROR_REPO = 'emacs-mirror/emacs'
|
||||
DOWNLOAD_URL = 'https://api.github.com/repos/emacs-mirror/emacs/tarball/%s'
|
||||
DOWNLOAD_URL = 'https://github.com/emacs-mirror/emacs/tarball/%s'
|
||||
|
||||
attr_reader :root_dir
|
||||
attr_reader :source_dir
|
||||
|
||||
Reference in New Issue
Block a user