You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here is what I use now for input.json file. It can't be changed to README.md. Finding related files with each change can be tricky assuming there can be cases that not all the files get updated. Then there should be a recursive search to find the file. This functionality will be only useful for the viewer.
functionget_commit_history(member,forkName,name){vardates=[];varinputFileHistory="https://api.github.com/repos/"+member+"/"+forkName+"/commits?path="+name+"/input.json";varinputHistoryString=UrlFetchApp.fetch(inputFileHistory).getContentText();varinputHistoryData=JSON.parse(inputHistoryString);// collect all datesfor(d=0;d<inputHistoryData.length;d++){varcommit=inputHistoryData[d];// adding milliseconds to date > http://stackoverflow.com/questions/6683872/why-does-my-date-object-in-google-apps-script-return-nanvardt=Date.parse(commit.commit.committer.date.replace("Z",".000Z"));vardtt=newDate(dt);dates.push(dtt);}// sort list of datesdates.sort();returndates}
We can use github's versions for the zip file as the main driver of the versions. The version input by user can move to README.md file.
The text was updated successfully, but these errors were encountered: