python_deploy: fix github dev channel updates

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan 2024-12-22 07:38:06 -05:00
parent ccfe32f236
commit a4604e3380
No known key found for this signature in database
GPG Key ID: 5A1EB336DFB4C71B

View File

@ -362,7 +362,7 @@ class PythonDeploy(AppDeploy):
pip_args = f"install -U git+https://github.com/{repo}"
if rollback:
pip_args += f"@{self.rollback_ref}"
elif self.channel == "dev":
elif self.channel == Channel.DEV:
current_ref = self.current_sha
if self.primary_branch is not None:
pip_args += f"@{self.primary_branch}"