{"action":"created","issue":{"url":"https://api.github.com/repos/badges/shields/issues/1652","repository_url":"https://api.github.com/repos/badges/shields","labels_url":"https://api.github.com/repos/badges/shields/issues/1652/labels{/name}","comments_url":"https://api.github.com/repos/badges/shields/issues/1652/comments","events_url":"https://api.github.com/repos/badges/shields/issues/1652/events","html_url":"https://github.com/badges/shields/issues/1652","id":315277051,"number":1652,"title":"Github tag badge - 'untagged' tag trumps numeric tag","user":{"login":"dotherightthing","id":638871,"avatar_url":"https://avatars3.githubusercontent.com/u/638871?v=4","gravatar_id":"","url":"https://api.github.com/users/dotherightthing","html_url":"https://github.com/dotherightthing","followers_url":"https://api.github.com/users/dotherightthing/followers","following_url":"https://api.github.com/users/dotherightthing/following{/other_user}","gists_url":"https://api.github.com/users/dotherightthing/gists{/gist_id}","starred_url":"https://api.github.com/users/dotherightthing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotherightthing/subscriptions","organizations_url":"https://api.github.com/users/dotherightthing/orgs","repos_url":"https://api.github.com/users/dotherightthing/repos","events_url":"https://api.github.com/users/dotherightthing/events{/privacy}","received_events_url":"https://api.github.com/users/dotherightthing/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-17T23:29:52Z","updated_at":"2018-04-18T00:05:25Z","closed_at":null,"author_association":"NONE","body":"When Shields.io gets the latest tag, it seems to sort the results so that an `untagged~` tag appears before a `1.2.3` one.\r\n\r\nFor example, my latest tag is `1.2.22`, from 2018.04.17.\r\n\r\nPossibly due to a triggered Travis build, I also have an older 'tag', `untagged-a28b5342e0bdb1f3776a`, from 2018.03.18.\r\n\r\nShields displays `tag | untagged-a28b5342e0bdb1f3776a`, despite this tag being the older of the two.\r\n\r\nScreenshot:\r\n\r\n![screen shot 2018-04-18 at 11 19 45 am](https://user-images.githubusercontent.com/638871/38903726-72236d6c-42fa-11e8-80d3-e2972f76cc8e.png)\r\n"},"comment":{"url":"https://api.github.com/repos/badges/shields/issues/comments/382197901","html_url":"https://github.com/badges/shields/issues/1652#issuecomment-382197901","issue_url":"https://api.github.com/repos/badges/shields/issues/1652","id":382197901,"user":{"login":"RedSparr0w","id":7288322,"avatar_url":"https://avatars2.githubusercontent.com/u/7288322?v=4","gravatar_id":"","url":"https://api.github.com/users/RedSparr0w","html_url":"https://github.com/RedSparr0w","followers_url":"https://api.github.com/users/RedSparr0w/followers","following_url":"https://api.github.com/users/RedSparr0w/following{/other_user}","gists_url":"https://api.github.com/users/RedSparr0w/gists{/gist_id}","starred_url":"https://api.github.com/users/RedSparr0w/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RedSparr0w/subscriptions","organizations_url":"https://api.github.com/users/RedSparr0w/orgs","repos_url":"https://api.github.com/users/RedSparr0w/repos","events_url":"https://api.github.com/users/RedSparr0w/events{/privacy}","received_events_url":"https://api.github.com/users/RedSparr0w/received_events","type":"User","site_admin":false},"created_at":"2018-04-18T00:05:25Z","updated_at":"2018-04-18T00:05:25Z","author_association":"COLLABORATOR","body":"Hey, Thanks for reporting this,\r\nCould you please provide an example repo so we are able to look into this further?\r\n\r\nI believe the problem is due to [this](https://github.com/badges/shields/issues/490#issuecomment-119747541):\r\n>One of the tags is `1.09`, which is not semver compliant. Since we can't use semver ordering, we fall back on to the next best thing, ASCII ordering.\r\n\r\nIn your case, one of the tags being `untagged-a28b5342e0bdb1f3776a` (non semver)"}}
{"actor":{"display_login":"RedSparr0w"}}