Repository navigation
适配插件接口 1 定稿,改用宿主的可复用工作流 - #3
Merged
Merged
Conversation
len_bot.next is internal to the host. Plugins and tests now import len_bot.plugin, len_bot.plugin_testing, len_bot.image_assets and len_bot.text_cards only. Requires the LenBot development commit that moved these modules; the CI host pin still needs updating once it is pushed.
CI 和发行改为调用 lendevs/LenBot 的 plugin-ci.yml 与 plugin-release.yml, 跟随宿主 master 测试,不再写死宿主提交;删除本仓库的 scripts/package.py, 打包统一使用宿主的 scripts/package_plugin.py。发行时核对标签与 plugin.toml 版本一致,发行说明只取 CHANGELOG 中当前版本一节。
发行说明直接取自本版本一节,删去未发行开发版本之类只适用于开发期的说明。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
插件接口 1 定稿后的适配:
len_bot.plugin导入公开接口(宿主已把公开接口移到这里)。plugin-ci.yml、plugin-release.yml,跟随宿主 master 测试,不再写死宿主提交;删除本仓库的scripts/package.py,打包统一用宿主的scripts/package_plugin.py。发行时核对标签与plugin.toml版本一致,发行说明只取 CHANGELOG 中当前版本一节。核对:本机用当前宿主跑插件测试全部通过,打包和发行说明试跑通过。
注意:本 PR 的 CI 引用
lendevs/LenBotmaster 上的plugin-ci.yml,宿主 PR 合并前这个文件还不存在,所以这次 CI 会失败;宿主合并后会重新运行确认。