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:
parent
2303a787ef
commit
2d45cc3e6e
3 changed files with 9 additions and 0 deletions
5
.changeset/tricky-mirrors-act.md
Normal file
5
.changeset/tricky-mirrors-act.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"@logto/schemas": patch
|
||||
---
|
||||
|
||||
Update alteration script names after versioning
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -112,6 +112,8 @@ jobs:
|
|||
with:
|
||||
# Use our customized publish flow. See https://github.com/changesets/changesets/issues/833 for the limit of changesets.
|
||||
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'
|
||||
title: 'release: version packages'
|
||||
# Create by our rules defined in `/.changeset/README.md`.
|
||||
|
|
|
@ -11,6 +11,8 @@
|
|||
"start": "cd packages/core && NODE_ENV=production node .",
|
||||
"cli": "logto",
|
||||
"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:lint": "pnpm -r --parallel lint",
|
||||
"ci:stylelint": "pnpm -r --parallel stylelint",
|
||||
|
|
Loading…
Reference in a new issue