Skip to content

Commit

Permalink
fix: proxy contract versions not being updated correctly (#3339)
Browse files Browse the repository at this point in the history
  • Loading branch information
nedsalk authored Oct 21, 2024
1 parent 3a56354 commit 2d21767
Show file tree
Hide file tree
Showing 2 changed files with 8 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 @@
---
---
8 changes: 6 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,12 @@ 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 2d21767

Please sign in to comment.