ryanoasis / nerd-fonts

Iconic font aggregator, collection, & patcher. 3,600+ icons, 50+ patched fonts: Hack, Source Code Pro, more. Glyph collections: Font Awesome, Material Design Icons, Octicons, & more
https://NerdFonts.com
Other
52.6k stars 3.59k forks source link

CI: Adapt Homebrew Cask generation #1637

Open Finii opened 1 month ago

Finii commented 1 month ago

[why] The Cask-fonts repo has been incorporated into the main Cask repo. On releases we would use an obsolete repository to create the Cask into.

The casks are now in a dedicated subdirectory (Casks/font) and under that we have one subdirectory for each font name starting character (to have a smaller number of files per directory I assume).

[how] Change the repository path.

Put part of the new (longer) path, the fixed part, just in the CI process, while the generator script takes care about the one-directory-per-startchar substructure.

Fixes: #1635

Requirements / Checklist

What does this Pull Request (PR) do?

Update the Cask generation and workflow to the upstream (or is that downstream) architectural changes.

How should this be manually tested?

Let the workflow run and examine the resulting PR, then close the PR :-D Well, we need some change in our repo that causes the casks to differ or the PR will be empty.

Any background context you can provide?

What are the relevant tickets (if any)?

Screenshots (if appropriate or helpful)

Finii commented 1 month ago

Running the scripts locally looks good:

image