Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Commit

Permalink
Fix autoprevious calculation for candidate assemblies
Browse files Browse the repository at this point in the history
  • Loading branch information
joepvd committed Jul 22, 2022
1 parent cbb0ec7 commit 62351d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doozerlib/cli/release_gen_assembly.py
Expand Up @@ -92,7 +92,7 @@ def exit_with_error(msg):
final_previous_list |= set(map(VersionInfo.parse, previous_list))
elif auto_previous:
# gen_assembly_name should be in the form of `fc.0`, `rc.1`, or `4.10.1`
if assembly_type == AssemblyTypes.CUSTOM:
if assembly_type == AssemblyTypes.CANDIDATE:
major_minor = runtime.get_minor_version() # x.y
version = f"{major_minor}.0-{gen_assembly_name}"
else:
Expand Down

0 comments on commit 62351d8

Please sign in to comment.