Skip to content

Commit

Permalink
Merge pull request #1888 from Automattic/GH-1816
Browse files Browse the repository at this point in the history
fix(dev-env): force pull images on environment version update
  • Loading branch information
sjinks authored Jun 20, 2024
2 parents 8d0373c + df565c4 commit 016d96d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/dev-environment/dev-environment-core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -821,6 +821,7 @@ async function maybeUpdateVersion( lando: Lando, slug: string ): Promise< boolea

console.log( 'Current local environment version is: ' + chalk.yellow( currentVersion ) );
if ( ! currentVersion || semver.lt( currentVersion, DEV_ENVIRONMENT_VERSION ) ) {
envData.pullAfter = undefined;
await updateEnvironment( lando, envData );
console.log(
'Local environment version updated to: ' + chalk.green( DEV_ENVIRONMENT_VERSION )
Expand Down

0 comments on commit 016d96d

Please sign in to comment.