0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

fix: run version script when after changeset version

This commit is contained in:
Gao Sun 2022-11-16 18:02:19 +08:00
parent 2303a787ef
commit 2d45cc3e6e
No known key found for this signature in database
GPG key ID: 13EBE123E4773688
3 changed files with 9 additions and 0 deletions

View file

@ -0,0 +1,5 @@
---
"@logto/schemas": patch
---
Update alteration script names after versioning

View file

@ -112,6 +112,8 @@ jobs:
with: with:
# Use our customized publish flow. See https://github.com/changesets/changesets/issues/833 for the limit of changesets. # Use our customized publish flow. See https://github.com/changesets/changesets/issues/833 for the limit of changesets.
publish: node .scripts/publish.js publish: node .scripts/publish.js
# `changeset version` won't run version lifecycle scripts, see https://github.com/changesets/changesets/issues/860
version: pnpm ci:version
commit: 'release: version packages' commit: 'release: version packages'
title: 'release: version packages' title: 'release: version packages'
# Create by our rules defined in `/.changeset/README.md`. # Create by our rules defined in `/.changeset/README.md`.

View file

@ -11,6 +11,8 @@
"start": "cd packages/core && NODE_ENV=production node .", "start": "cd packages/core && NODE_ENV=production node .",
"cli": "logto", "cli": "logto",
"alteration": "logto db alt", "alteration": "logto db alt",
"//": "# `changeset version` won't run version lifecycle scripts, see https://github.com/changesets/changesets/issues/860",
"ci:version": "changeset version && pnpm -r version",
"ci:build": "pnpm -r build", "ci:build": "pnpm -r build",
"ci:lint": "pnpm -r --parallel lint", "ci:lint": "pnpm -r --parallel lint",
"ci:stylelint": "pnpm -r --parallel stylelint", "ci:stylelint": "pnpm -r --parallel stylelint",