fix: version

This commit is contained in:
AIsouler
2024-04-21 23:01:57 +08:00
parent e99a99087d
commit 9832869a15
2 changed files with 4 additions and 2 deletions

View File

@@ -27,6 +27,9 @@ jobs:
version=$(node -e "import('@gkd-kit/tools').then((m) => m.stdoutGkdVersion());") version=$(node -e "import('@gkd-kit/tools').then((m) => m.stdoutGkdVersion());")
echo "version=${version}" >> "$GITHUB_OUTPUT" echo "version=${version}" >> "$GITHUB_OUTPUT"
- id: update_pkg_version
run: node -e "import('@gkd-kit/tools').then((m) => m.updatePkgVersion());"
- name: Git commit - name: Git commit
id: commit id: commit
run: | run: |
@@ -74,7 +77,6 @@ jobs:
if: ${{ steps.commit.outcome == 'success' && env.NPM_TOKEN != '' }} if: ${{ steps.commit.outcome == 'success' && env.NPM_TOKEN != '' }}
run: | run: |
pnpm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }} pnpm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }}
node -e "import('@gkd-kit/tools').then((m) => m.updatePkgVersion());"
pnpm publish --no-git-checks pnpm publish --no-git-checks
node -e "import('@gkd-kit/tools').then((m) => m.syncNpmmirror());" node -e "import('@gkd-kit/tools').then((m) => m.syncNpmmirror());"

View File

@@ -1,6 +1,6 @@
{ {
"name": "@aisouler/gkd_subscription", "name": "@aisouler/gkd_subscription",
"version": "1.64.0", "version": "1.65.0",
"type": "module", "type": "module",
"gkd": { "gkd": {
"outDir": "dist", "outDir": "dist",