From 91ff295c36d47ace90bee7de7f0422e95811a7e6 Mon Sep 17 00:00:00 2001 From: 2061360308 <2061360308@qq.com> Date: Wed, 20 Dec 2023 01:24:27 +0800 Subject: [PATCH] chore: fix workflow erros --- publish.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/publish.py b/publish.py index ec6bcbe..9d33c48 100644 --- a/publish.py +++ b/publish.py @@ -2,14 +2,20 @@ import os import subprocess # Bump version +print('Bumping version...') subprocess.check_call(['bumpversion', 'patch']) # Push changes to remote +print('Pushing changes to remote...') subprocess.check_call(['git', 'push']) subprocess.check_call(['git', 'push', '--tags']) # Run towncrier +print('Running towncrier...') subprocess.check_call(['towncrier', '--yes']) +print("Created newsfragments directory") if not os.path.isdir('./newsfragments'): - os.mkdir('./newsfragments') \ No newline at end of file + os.mkdir('./newsfragments') + +print("Done!") \ No newline at end of file