Fix snapshot name formating
This commit is contained in:
parent
2b59592819
commit
909c726c75
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue