From 16e0baba3d566f4f415d5f30c7e15e3dcae09042 Mon Sep 17 00:00:00 2001 From: jaycethanks Date: Wed, 25 Sep 2024 21:30:24 +0800 Subject: [PATCH] chore: action --- .github/workflows/main.yml | 2 +- publish note | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 publish note diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ffdda1c..ea93879 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,7 +2,7 @@ name: Release on: push: tags: - - 'v*' + - '*' workflow_dispatch: permissions: diff --git a/publish note b/publish note new file mode 100644 index 0000000..e9f70a8 --- /dev/null +++ b/publish note @@ -0,0 +1,17 @@ +wxt 不支持自定义输出文件名 https://github.com/wxt-dev/wxt/issues/177 + +因此发布的时候,tag 名,版本号 要和 实际zip 输出保持一致。 例如 + + +```bash +# right +git tag 0.0.1 +git push origin 0.0.1 +``` + + +```bash +# wrong +git tag v0.0.1 +git push origin v0.0.1 +``` \ No newline at end of file