Skip to content

Fix jq bugs when version is null (like removed RCs) and drop RC - #105

Open
yosifkit wants to merge 2 commits into
docker-library:masterfrom
infosiftr:rc-bugs
Open

yosifkit wants to merge 2 commits into
docker-library:masterfrom
infosiftr:rc-bugs

Conversation

@yosifkit

Copy link
Copy Markdown
Member

update.sh would correctly remove the old RC now that stable is newer, but generate-stackbrew-library.sh would fail

$ ./generate-stackbrew-library.sh rc
jq: error (at versions.json:136): Cannot iterate over null (null)

Once that was fixed (in the getArches function), the map_values(select(.)) had to be swapped to before to_entries in order fix the next error (the select wasn't removing the null). Since map_values is object key order preserving this is safe.

jq: error (at versions.json:136): split input and separator must be strings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant