get proper build file in updater
This commit is contained in:
parent
186be74555
commit
8995f84164
2 changed files with 3 additions and 3 deletions
2
.github/workflows/build-on-release.yml
vendored
2
.github/workflows/build-on-release.yml
vendored
|
@ -1,4 +1,4 @@
|
|||
name: Package Pluginon Release
|
||||
name: Package Plugin on Release
|
||||
|
||||
on:
|
||||
release:
|
||||
|
|
|
@ -9,9 +9,9 @@ $url = 'https://api.github.com/repos/circlecube/wasmo-theme/releases/latest';
|
|||
$wasmoThemeUpdater = new ThemeUpdater( $theme, $url );
|
||||
$wasmoThemeUpdater->setDataMap(
|
||||
array(
|
||||
'version' => 'tag_name',
|
||||
'download_link' => 'zipball_url',
|
||||
'download_link' => 'assets.0.browser_download_url',
|
||||
'last_updated' => 'published_at',
|
||||
'version' => 'tag_name',
|
||||
)
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue