Skip to content

Commit

Permalink
Merge pull request #189 from flyingcircusio/phil/FC-40344_fix-version…
Browse files Browse the repository at this point in the history
…s-update

[FC-40344] load the environment when updating it's requirements
  • Loading branch information
frlan authored Aug 26, 2024
2 parents 12442e8 + 2216155 commit 6e8f963
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/batou_ext/versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ def update_from_branch(basedir: str, branch: str):

def update_single(basedir: str, environment_name: str):
environment = batou.environment.Environment(environment_name)
environment.load()
versions_ini = find_versions_ini(environment)
current_versions = get_current_versions(basedir, environment)
set_versions(versions_ini, current_versions)
Expand Down

0 comments on commit 6e8f963

Please sign in to comment.