mirror of
https://github.com/jimeh/build-emacs-for-macos.git
synced 2026-02-19 08:26:39 +00:00
fix(patches): correctly set ref when loading a build plan YAML
The ref was not correctly set when loading a build plan, resulting in the set of patches being selected were always for Emacs 28.x, preventing builds of Emacs 27.x and 26.x.
This commit is contained in:
@@ -117,9 +117,10 @@ class Build
|
||||
def load_plan(filename)
|
||||
plan = YAML.safe_load(File.read(filename), [:Time])
|
||||
|
||||
@ref = plan.dig('source', 'ref')
|
||||
@meta = {
|
||||
sha: plan.dig('source', 'commit', 'sha'),
|
||||
ref: plan.dig('source', 'ref'),
|
||||
ref: @ref,
|
||||
date: plan.dig('source', 'commit', 'date')
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user