Skip to content

Commit

Permalink
Update changelog when group is updated
Browse files Browse the repository at this point in the history
  • Loading branch information
ruhan1 committed Nov 12, 2024
1 parent 4ede79c commit ad1e7ee
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.Date;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
Expand Down Expand Up @@ -493,7 +494,12 @@ protected Boolean doStore( StoreKey k, ArtifactStore store, ChangeSummary summar
return false;
}

logger.debug( "Put {} to stores map", k );
logger.info( "Put {} to stores, {}", k, summary );
if ( summary != null )
{
store.setMetadata( ArtifactStore.METADATA_CHANGELOG,
String.format( "%s, %s", summary.getSummary(), new Date() ));
}
final ArtifactStore old = putArtifactStoreInternal( store.getKey(), store );

try
Expand Down

0 comments on commit ad1e7ee

Please sign in to comment.