mirror of
https://github.com/certd/certd.git
synced 2026-05-01 10:27:31 +08:00
fix: 修复检查github release 插件无法保存最后版本的bug
This commit is contained in:
@@ -71,6 +71,7 @@ export class GithubCheckRelease extends AbstractTaskPlugin {
|
|||||||
|
|
||||||
if(res.tag_name == null || res.tag_name ==lastVersion){
|
if(res.tag_name == null || res.tag_name ==lastVersion){
|
||||||
this.logger.info(`暂无更新,${res.tag_name}`);
|
this.logger.info(`暂无更新,${res.tag_name}`);
|
||||||
|
this.lastVersion = res.tag_name || lastVersion;
|
||||||
return "skip"
|
return "skip"
|
||||||
}
|
}
|
||||||
//有更新
|
//有更新
|
||||||
|
|||||||
Reference in New Issue
Block a user