mirror of https://github.com/certd/certd
fix: 修复检查github release 插件无法保存最后版本的bug
parent
3e84e116e8
commit
a92107cc47
|
@ -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"
|
||||||
}
|
}
|
||||||
//有更新
|
//有更新
|
||||||
|
|
Loading…
Reference in New Issue