Skip to content
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

[proposal] Include release date in artifact JSON manifests #219

Closed
evan-goode opened this issue Aug 29, 2023 · 0 comments
Closed

[proposal] Include release date in artifact JSON manifests #219

evan-goode opened this issue Aug 29, 2023 · 0 comments

Comments

@evan-goode
Copy link
Contributor

I'm working on adding authlib-injector support to a fork of Prism Launcher, and Prism's library system expects release dates for each version of an library. It would be great if this information were available via the API, for example:

$ curl https://authlib-injector.yushi.moe/artifact/51.json
{
  "build_number": 51,
  "version": "1.2.3",
  "release_date": "2023-06-12 02:46:15 +0800",
  "download_url": "https://authlib-injector.yushi.moe/artifact/51/authlib-injector-1.2.3.jar",
  "checksums": {
    "sha256": "d3ec36486b0a5ab5a16069733cd8d749950c2d62e1bdacaf27864b30b92c1c7f"
  }
}

If desired, I can try to work on this myself and submit a PR to this repo and to https://github.com/yushijinhun/authlib-injector.yushi.moe to retroactively add release dates to old releases.

evan-goode added a commit to unmojang/authlib-injector.yushi.moe that referenced this issue Sep 23, 2023
evan-goode added a commit to unmojang/authlib-injector that referenced this issue Sep 23, 2023
evan-goode added a commit to unmojang/authlib-injector.yushi.moe that referenced this issue Sep 23, 2023
For yushijinhun/authlib-injector#219

For builds 28 and earlier, I used the timestamp of the commit from
"authlib-injector Deploy Bot". For newer builds, I used the published_at
date of the GitHub release.
YuxuanZuo pushed a commit to YuxuanZuo/MultiYggdrasil that referenced this issue Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants