haxeget install latest, and install haxe from github releases using octocrab#14
Draft
ninjamuffin99 wants to merge 1 commit intol0go:mainfrom
Draft
haxeget install latest, and install haxe from github releases using octocrab#14ninjamuffin99 wants to merge 1 commit intol0go:mainfrom
haxeget install latest, and install haxe from github releases using octocrab#14ninjamuffin99 wants to merge 1 commit intol0go:mainfrom
Conversation
Owner
|
Real neat! Please alert me once this is suitable to be merged. Do we need octocrab? Pretty sure I have everything exposed already? |
Contributor
Author
|
very likely don't need octocrab! I was just lazy lolol, i will poke into the github_schema and use those api bindings I do think though it makes it nicer to not have to do any json / http request parsing/setup for github api, food for thought :) |
Owner
Do whatever you think will be best, I'll leave the judgement up to you. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
"latest" will lead to the latest release uploaded to github releases
ex: github.com/HaxeFoundation/haxe/releases/latest will link to the 4.3.4 tag/release.
octocrabis a crate I added since I'm too lazy to write up the API schema stuff... lol!Using octocrab, we can make a nice and easy call to get the
latestgithub haxe release, and nice and easily download it by passing inlatesttohaxeget installtodo
latest, make sure it gets logged as whatever the version downloaded was into the cache (haxeget listwill showlatestrather than4.3.4)