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

JitPack version badge shows 'not found' #8040

Closed
aSemy opened this issue Jun 3, 2022 · 2 comments · Fixed by #8041
Closed

JitPack version badge shows 'not found' #8040

aSemy opened this issue Jun 3, 2022 · 2 comments · Fixed by #8041
Labels
question Support questions, usage questions, unconfirmed bugs, discussions, ideas

Comments

@aSemy
Copy link

aSemy commented Jun 3, 2022

Are you experiencing an issue with...

shields.io

🐞 Description

My repo: https://github.com/adamko-dev/kotlinx-serialization-typescript-generator

JitPack info: https://jitpack.io/#adamko-dev/kotlinx-serialization-typescript-generator

The badge that JitPack provides works okay: https://jitpack.io/v/adamko-dev/kotlinx-serialization-typescript-generator.svg

image

But the shields.io badge shows 'not found' https://img.shields.io/jitpack/v/github/adamko-dev/kotlinx-serialization-typescript-generator

image

🔗 Link to the badge

https://img.shields.io/jitpack/v/github/adamko-dev/kotlinx-serialization-typescript-generator

💡 Possible Solution

No response

@aSemy aSemy added the question Support questions, usage questions, unconfirmed bugs, discussions, ideas label Jun 3, 2022
@chris48s
Copy link
Member

chris48s commented Jun 3, 2022

The API call we make for this is https://jitpack.io/api/builds/com.github.adamko-dev/kotlinx-serialization-typescript-generator/latest which is returning a 404. JitPack APIs calls for other repos do appear to be returning a valid result e.g: https://jitpack.io/api/builds/com.github.jitpack/maven-simple/latest so this must be something specific to this repo. Any idea why https://jitpack.io/api/builds/com.github.adamko-dev/kotlinx-serialization-typescript-generator/latest is a 404 for your repo. Are you able to follow this up with jitpack?

@aSemy
Copy link
Author

aSemy commented Jun 3, 2022

Thanks for looking into it. I think this is because the latest build in my repo is failing. Can you should change .../latest to be ../latestOk? https://jitpack.io/docs/API/#latest-build

This call works: https://jitpack.io/api/builds/com.github.adamko-dev/kotlinx-serialization-typescript-generator/latestOk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Support questions, usage questions, unconfirmed bugs, discussions, ideas
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants