Added support for hidden changelog entries in auto_update.json
This commit is contained in:
parent
ae2cb23cbf
commit
14428924f1
1 changed files with 5 additions and 0 deletions
|
@ -54,6 +54,11 @@ public class JacksonAutoUpdateReader {
|
|||
JsonNode changelogNode = historyNode.get( "changelog" );
|
||||
|
||||
for ( JsonNode releaseNode : changelogNode ) {
|
||||
// Skip any versions with optional "hidden" field set to true.
|
||||
if ( releaseNode.get( "hidden" ) != null && releaseNode.get( "hidden" ).booleanValue() ) {
|
||||
continue;
|
||||
}
|
||||
|
||||
String releaseVersion = releaseNode.get( "version" ).textValue();
|
||||
|
||||
List<String> changeList = new ArrayList<String>( releaseNode.get( "changes" ).size() );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue