From 909c726c75168c3908205817eaaddb7558e247bc Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Mon, 2 May 2022 16:12:12 +0200 Subject: [PATCH] Fix snapshot name formating --- entrypoint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.py b/entrypoint.py index e55d888..7a8c7e3 100644 --- a/entrypoint.py +++ b/entrypoint.py @@ -160,7 +160,7 @@ for changes_file in changes_files: # Create a snapshot of the repository -snap_name = datetime.datetime.now().strftime('%Y%m%d-%H%M%S') + f'{REPO_NAME}' +snap_name = datetime.datetime.now().strftime(f'%Y%m%d-%H%M%S_{REPO_NAME}') print(f'Create new snapshot "{snap_name}" of repository "{REPO_NAME}"') url = f'{API_URL}/repos/{REPO_NAME}/snapshots'