-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No bleeding edge FontPatcher.zip #1040
Comments
I mentioned this in the PR, but it's marked as a draft because the step performing the actual release is most certainly not correct for this repository. I'd like to ask for help with that part, but I'm pretty sure the zip file this spits out is correct. It's a little bit rough in that I'm checking out the unpatched fonts and then deleting them, rather than being more specific about what to checkout, but I don't know if this is such a big deal. At the very least I'm not checking out the whole huge repo and its eternal(ly large) history |
Now that I think about it, it probably would make sense to have the action simply add the zip to the repo and push that. I think that's what you're suggesting, @Finii ? I'm not certain how to add to such a bare repo, though. Maybe we can just Edit: (not with the removed .git directory, but let me try this) |
Yes. Thanks for the RP. You should use actions instead of writing your own git commands. Like https://github.com/actions/checkout There is already a script that creates the release zip file, why not use that for inter-release zips? Of course there are also actions to commit a new file to the repo. Like, see One would need to think about the trigger more closely. If you want to test the workflow I would recommend forking this repo and doing the experiments in your fork. |
Thanks for the notes! I'll work on them.
I was annoyed by how slow
So thanks for pointing that out, this does feel a lot cleaner than my own git commands (though I do prefer understanding under the git hood more than the magic of asking someone else for help...). Of course I can adapt
Checking that out now!
This also looks like it'll help, thanks.
May I ask you to elaborate, please? The token automatically used by GitHub Actions will not automatically trigger other actions (by design, so that a naively written action won't spawn a loop). Is it bad to take advantage of this? Were there other issues you had in mind about? I guess there's probably a way to filter the
Way ahead of you -- I've got actions enabled in my own fork, so all of my commits automatically test this PR. |
Well, I would think the zip should automagically be created when something is pushed to Iirc you have a Alternatively, if we have a release candidate, we could update the zip file of that RC, and we do not need to mess around with the actual repo (which is kind of ... smelly in this case?) Maybe that is even better. Check if the last release is a RC, update the FontPatcher.zip if it is. Do nothing if we do not have a RC? Hmm.
🤔 Ah, I see now... Usually I PR only after I'm finished and all works, to not 'spam' the PR with all my tests. |
This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues. If you have found a problem that seems similar, please open a new issue, complete the issue template with all the details necessary to reproduce, and mention this issue as reference. |
Well, in the meantime we have a single zip file that holds the last release script with all additional files needed for patching:
https://github.com/ryanoasis/nerd-fonts/releases/download/v2.3.0-RC/FontPatcher.zip
But well, that is not
master
. And it is very badly documented.We need to
master
Originally posted by @Finii in #595 (comment)
The text was updated successfully, but these errors were encountered: