docs: use latest tag name instead of package.json's version
This commit is contained in:
parent
9321dc7e4f
commit
ddab3e416d
1 changed files with 2 additions and 2 deletions
|
|
@ -2,7 +2,7 @@ $(document).ready(function(){
|
|||
$.getJSON('https://api.github.com/repos/jean-emmanuel/open-stage-control',function(data){
|
||||
$('#github-stars').text(data.stargazers_count)
|
||||
})
|
||||
$.getJSON('https://raw.githubusercontent.com/jean-emmanuel/open-stage-control/master/app/package.json',function(data){
|
||||
$('#github-version').text('v'+data.version)
|
||||
$.getJSON('https://api.github.com/repos/jean-emmanuel/open-stage-control/tags',function(data){
|
||||
$('#github-version').text(data[0].name)
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue