diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 0474a4f..a52d7db 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -24,11 +24,11 @@ jobs: run: | git config --global user.name 'zhaoyingbo' git config --global user.email 'zhaoyingbo@live.cn' - npx lerna version patch --yes --since master + npx lerna version patch --yes git push --follow-tags - name: Publish packages run: | git update-index --assume-unchanged .npmrc echo "//git.yingbo.im:333/api/packages/zhaoyingbo/npm/:_authToken=${{ secrets.NPM_TOKEN }}" >> .npmrc - npx lerna publish from-package --yes --since master + npx lerna publish from-package --yes diff --git a/lerna.json b/lerna.json index bbfa436..25c833c 100644 --- a/lerna.json +++ b/lerna.json @@ -9,5 +9,10 @@ "yes": true, "message": "chore(release): publish" } - } + }, + "ignoreChanges": [ + "**/__fixtures__/**", + "**/__tests__/**", + "**/*.md" + ] } \ No newline at end of file