Skip to content

Commit

Permalink
feat: register changelogs
Browse files Browse the repository at this point in the history
  • Loading branch information
warlof committed Nov 29, 2020
1 parent 32adb9f commit 1fc4703
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/ConsoleServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,30 @@ public function register()
__DIR__ . '/Config/console.config.php', 'console.config');
}

/**
* {@inheritdoc}
*/
public function getChangelogUri(): ?string
{
return 'https://api.github.com/repos/eveseat/console/releases';
}

/**
* {@inheritdoc}
*/
public function getChangelogBodyAttribute(): ?string
{
return 'body';
}

/**
* {@inheritdoc}
*/
public function getChangelogTagAttribute(): ?string
{
return 'tag_name';
}

/**
* Return the plugin public name as it should be displayed into settings.
*
Expand Down

0 comments on commit 1fc4703

Please sign in to comment.