For bitcoin, the release page:
https://github.com/bitcoin/bitcoin/releases
I can get github release rss seed by append ".atom" on it
https://github.com/bitcoin/bitcoin/releases.atom
But this will include pre release tags.
How can I get latest release tag only?
Asked
Active
Viewed 1.3k times
16

DinoStray
- 696
- 1
- 6
- 20
3 Answers
10
Pre-releases are listed in the releases.atom
feed, but they are not marked as pre-releases (no way to separate a pre-release from a final release as far as I can tell).
This information is instead available from the GitHub API.

Isaiah Norton
- 4,205
- 1
- 24
- 38
-
2`releases.atom` now includes pre-releases. – Chih-Hsuan Yen Jun 29 '20 at 02:43
-
Can you point to an example? I've just tested it on a repo w/ a pre-release but still don't see anything to indicate that status. – Isaiah Norton Jun 29 '20 at 14:53
-
Here is an example https://github.com/home-assistant/core/releases.atom – Chih-Hsuan Yen Jul 01 '20 at 06:53
-
1Thanks for the response and the link. I believe this has always been true. Pre-releases are _listed_, but there is no way to differentiate a pre-release from a final release in the RSS. – Isaiah Norton Jul 01 '20 at 20:18
-
1Oops, sorry for the noise and misunderstanding your answer. – Chih-Hsuan Yen Jul 02 '20 at 04:46
0
you'll have to resort to the API.
unbelievable that such an essential feature is missing from the Atom feeds

user1259710
- 868
- 2
- 9
- 12
0
May I suggest lastversion
?
The lastversion utility is actually capable of detecting pre-releases from GitHub atom feeds alone, by looking at beta version identifiers in the tags.
It does use API as well for attempting to try returning more data from a release.

Danila Vershinin
- 8,725
- 2
- 29
- 35