diff --git a/.github/workflows/build_release.yml b/.github/workflows/build_release.yml index bb741202..6872ce0e 100644 --- a/.github/workflows/build_release.yml +++ b/.github/workflows/build_release.yml @@ -1,6 +1,9 @@ name: build_release -on: workflow_dispatch +on: + workflow_dispatch: + schedule: + - cron: 0 16 * * * jobs: build_release: @@ -55,14 +58,4 @@ jobs: with: tag_name: v${{ steps.version.outputs.version }} release_name: Release ${{ steps.version.outputs.version }} - body_path: ./CHANGELOG.md - - - name: Publish package - if: ${{ steps.commit.outcome == 'success' }} - run: | - pnpm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }} - pnpm publish - - - name: sync npmmirror - if: ${{ steps.commit.outcome == 'success' }} - run: curl -X PUT 'https://registry-direct.npmmirror.com/@gkd-kit/subscription/sync' + body_path: ./CHANGELOG.md \ No newline at end of file diff --git a/.github/workflows/pull_request_check.yml b/.github/workflows/pull_request_check.yml index 8b24085f..479847a8 100644 --- a/.github/workflows/pull_request_check.yml +++ b/.github/workflows/pull_request_check.yml @@ -7,7 +7,7 @@ on: jobs: check: - if: github.repository == 'gkd-kit/subscription' + if: github.repository == 'AIsouler/subscription' runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 diff --git a/README.md b/README.md index 027c71ea..037c89c2 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,8 @@ -# @gkd-kit/subscription - -重要说明: 本人审核精力有限,所有规则均暂时停止维护, 你可以自行编写规则, 导入本地订阅使用 +# @AIsouler/subscription --- -`默认规则` 仅启用 `开屏广告` 一类规则, 其它所有规则均需用户手动打开 +AIsouler维护的GKD规则, 仅启用 `开屏广告` 一类规则, 其它所有规则均需用户手动打开 在 GKD 内添加以下链接即可使用此规则 @@ -23,3 +21,7 @@ https://fastly.jsdelivr.net/npm/@gkd-kit/subscription ## 感谢以下开发者的贡献 ![img](https://contrib.rocks/image?repo=gkd-kit/subscription&_v=185) + +## 感谢以下项目 + +[gkd-kit/subscription](https://github.com/gkd-kit/subscription) diff --git a/dist/AIsouler_gkd.version.json b/dist/AIsouler_gkd.version.json new file mode 100644 index 00000000..41ecd7ce --- /dev/null +++ b/dist/AIsouler_gkd.version.json @@ -0,0 +1,4 @@ +{ + "id": 666, + "version": 186 +} \ No newline at end of file diff --git a/dist/gkd.version.json b/dist/gkd.version.json deleted file mode 100644 index da6d1488..00000000 --- a/dist/gkd.version.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "id": 0, - "version": 185 -} \ No newline at end of file diff --git a/package.json b/package.json index 0ef2471f..09d55ce0 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@gkd-kit/subscription", "type": "module", - "version": "1.185.0", + "version": "1.186.0", "main": "./dist/gkd.json5", "unpkg": "./dist/gkd.json5", "jsdelivr": "./dist/gkd.json5", diff --git a/src/config.ts b/src/config.ts index f140835e..0687a9f3 100644 --- a/src/config.ts +++ b/src/config.ts @@ -6,9 +6,9 @@ import type { RawSubscription } from './types'; const subsConfig: RawSubscription = { id: 0, version: 0, - name: '默认订阅', - author: 'lisonge', - supportUri: 'https://github.com/gkd-kit/subscription', + name: 'AIsouler的GKD订阅', + author: 'AIsouler', + supportUri: 'https://github.com/AIsouler/subscription', updateUrl: 'https://registry.npmmirror.com/@gkd-kit/subscription/latest/files', checkUpdateUrl: diff --git a/src/file.ts b/src/file.ts index 718e4312..66e048b9 100644 --- a/src/file.ts +++ b/src/file.ts @@ -58,8 +58,8 @@ const pkg: typeof PkgT = JSON.parse( ); const pkgKeys = Object.keys(pkg); -const gkdFp = process.cwd() + '/dist/gkd.json5'; -const versionFp = process.cwd() + '/dist/gkd.version.json'; +const gkdFp = process.cwd() + '/dist/AIsouler_gkd.json5'; +const versionFp = process.cwd() + '/dist/AIsouler_gkd.version.json'; const oldConfig: RawSubscription = JSON5.parse( await fs.readFile(gkdFp, 'utf-8').catch(() => '{}'), );