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

ci(connector): build connectors before publish (#5853)

This commit is contained in:
Xiao Yijun 2024-05-13 12:10:12 +08:00 committed by GitHub
parent 393cf44af1
commit f85e1b8088
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -52,6 +52,10 @@ if (taggedPackages.length === 0) {
try { try {
execSync('pnpm prepack'); execSync('pnpm prepack');
/**
* Build connectors before publish since some connectors rely on the generated types from oauth2 connector package.
*/
execSync('pnpm connectors build');
execSync('pnpm -r publish'); execSync('pnpm -r publish');
execSync('git push --follow-tags'); execSync('git push --follow-tags');
} catch (error) { } catch (error) {