ci: use timestamp only for snapshot manifest sets
@@ -368,14 +368,13 @@ def release_set_manifest_name(
if build_type in (BT.SNAPSHOT, BT.DAILY):
name = f'{gardenlinux_epoch}-{build_committish[:6]}-{flavourset_name}'
+ if with_timestamp:
+ name += '-' + datetime.datetime.utcnow().strftime('%Y%m%d-%H%M%S')
elif build_type is BT.RELEASE:
name = f'{version}-{flavourset_name}'
else:
raise ValueError(build_type)
- if with_timestamp:
- name += '-' + datetime.datetime.utcnow().strftime('%Y%m%d-%H%M%S')
-
return name
def enumerate_release_sets(
