Fix "new" ribbon showing on all plugins in marketplace
The original commit 913145399e added a ribbon to show which plugins
were recently added to the marketplace but on the live site all plugins
were showing as 'new'. The problem is due to relying on the git author
date which is incorrect when using shallow depth clones in the build
process.
Fixed by adding new key to plugin marketplace metadata to be parsed.
Fixes: https://github.com/backstage/backstage/issues/13015
Signed-off-by: Calum Lind <calumlind@gmail.com>
This commit is contained in:
@@ -23,4 +23,5 @@ iconUrl: # Used as the src attribute for your logo.
|
||||
# You can provide an external url or add your logo under static/img and provide a path
|
||||
# relative to static/ e.g. img/my-logo.png
|
||||
npmPackageName: # Your npm package name E.g. '@backstage/plugin-<etc>' quotes are required
|
||||
addedDate: # The date plugin added to marketplace E.g. '2022-10-01' quotes are required
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user