From ff691ecc2ab6566cc153f6e44765fbd378c5adb1 Mon Sep 17 00:00:00 2001 From: Sven-Hendrik Haase Date: Tue, 20 Oct 2020 02:22:37 +0200 Subject: [PATCH] Fix another format string --- ci/release.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/release.py b/ci/release.py index 6e608a2..d9ae95d 100755 --- a/ci/release.py +++ b/ci/release.py @@ -30,7 +30,7 @@ def upload(name): template = Path("Dockerfile.template").read_text() full_url = f"{project_url}{uploaded_url}" replaced = template.replace("TEMPLATE_ROOTFS_URL", full_url) - rootfs_sha256 = Path('output/{name}.tar.xz.SHA256').read_text()[0:64] + rootfs_sha256 = Path(f"output/{name}.tar.xz.SHA256").read_text()[0:64] hash_string = f"{rootfs_sha256} {filename}" replaced = replaced.replace( "TEMPLATE_ROOTFS_HASH", hash_string