Skip to content

how did you get Download Badge to work for IronOS? #1602

Answered by River-Mochi
River-Mochi asked this question in Q&A
Discussion options

You must be logged in to vote

I found out that the API for PineSAM does not have any download_count in it even though there are zip releases.
PineSAM is all python script and does not contain anything in Releases except the two default "source code" zip packages.

Basically it needs a named zip in "Releases" besides the default ones called Souce code.zip and Source code.tar.gz. Only then does github count it with download_count similar to how it's shown in IronOS releases API.
https://api.github.com/repos/ralim/ironos/releases

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Ralim
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by River-Mochi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants