Remove the 1: prefix from the deb versioning scheme

This commit is contained in:
MKLeb 2023-04-12 13:24:01 -04:00 committed by Gareth J. Greenaway
parent 85f268cdcd
commit a1274fc2dd

View file

@ -264,7 +264,7 @@ def update_deb(ctx: Context, salt_version: Version, draft: bool = False):
debian_changelog_path = "pkg/debian/changelog" debian_changelog_path = "pkg/debian/changelog"
tmp_debian_changelog_path = f"{debian_changelog_path}.1" tmp_debian_changelog_path = f"{debian_changelog_path}.1"
with open(tmp_debian_changelog_path, "w") as wfp: with open(tmp_debian_changelog_path, "w") as wfp:
wfp.write(f"salt (1:{salt_version}) stable; urgency=medium\n\n") wfp.write(f"salt ({salt_version}) stable; urgency=medium\n\n")
wfp.write(formated) wfp.write(formated)
wfp.write( wfp.write(
f"\n -- Salt Project Packaging <saltproject-packaging@vmware.com> {date}\n\n" f"\n -- Salt Project Packaging <saltproject-packaging@vmware.com> {date}\n\n"