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

ci: fix publish workflow (#2762)

This commit is contained in:
Gao Sun 2022-12-30 10:46:28 +08:00 committed by GitHub
parent 77bad4b1e7
commit 74c1532a38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 3 deletions

View file

@ -110,7 +110,7 @@ jobs:
git config --global user.name silverhand-bot
- name: Publish
run: node .script/publish.js
run: node .scripts/publish.js
create-github-release:
environment: release

View file

@ -50,5 +50,10 @@ if (taggedPackages.length === 0) {
process.exit(0);
}
try {
execSync('pnpm -r publish');
execSync('git push --follow-tags');
} catch (error) {
console.log(String(error.stdout));
throw error;
}