Skip to content

Commit e20e32e

Browse files
committed
💚 CI: add rename plugin name
1 parent 90087d9 commit e20e32e

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/rename.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ jobs:
3131
echo "Repository name: $REPO_NAME"
3232
echo "Repository underscore name: $UNDERSCORE_REPO_NAME"
3333
34+
- name: Update .github/workflows/test-load.yml
35+
run: |
36+
# 替换 test-load.yml 中的内容
37+
sed -i.bak "s/nonebot_plugin_template/${UNDERSCORE_REPO_NAME}/g" .github/workflows/test-load.yml
38+
rm -f .github/workflows/test-load.yml.bak
39+
3440
- name: Update README.md
3541
run: |
3642
# 替换 README.md 中的内容

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[project]
22
name = "nonebot-plugin-template"
3-
version = "0.0.2"
3+
version = "0.1.0"
44
description = "插件描述"
55
readme = "README.md"
6-
authors = [{ name = "fllesser", email = "fllessive@gmail.com" }]
6+
authors = [{ name = "owner", email = "email@github.com" }]
77
requires-python = ">=3.10,<3.13"
88
dependencies = [
99
"httpx>=0.27.0,<1.0.0",

0 commit comments

Comments
 (0)