Skip to content

Commit

Permalink
ci(connector): build connectors before publish (#5853)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoyijun authored May 13, 2024
1 parent 393cf44 commit f85e1b8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .scripts/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ if (taggedPackages.length === 0) {

try {
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('git push --follow-tags');
} catch (error) {
Expand Down

0 comments on commit f85e1b8

Please sign in to comment.