Skip to content

Commit

Permalink
fix: proxy contract versions not being updated correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
nedsalk committed Oct 16, 2024
1 parent 9ebd6c2 commit 0e775cd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .changeset/thick-geckos-cheer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
9 changes: 7 additions & 2 deletions scripts/changeset/changeset-version-with-docs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,13 @@ import { error } from 'console';
*/
execSync(`changeset version`);

// Invoke versions' prebuild script (will rewrite version files if needed)
execSync(`pnpm -C packages/versions prebuild`);
/**
* Invoke versions' build script (will rewrite version files if needed)
* and build the versions package,
* so that fuels-typegen picks up the new fuels version
* when generating the proxy contract below.
*/
execSync(`pnpm -C packages/versions build`);

// Invoke fuels' build:proxy script (will rewrite header versions in generated files)
execSync(`pnpm -C packages/fuels build:proxy`);
Expand Down

0 comments on commit 0e775cd

Please sign in to comment.