We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc79a64 commit 91ff295Copy full SHA for 91ff295
publish.py
@@ -2,14 +2,20 @@
2
import subprocess
3
4
# Bump version
5
+print('Bumping version...')
6
subprocess.check_call(['bumpversion', 'patch'])
7
8
# Push changes to remote
9
+print('Pushing changes to remote...')
10
subprocess.check_call(['git', 'push'])
11
subprocess.check_call(['git', 'push', '--tags'])
12
13
# Run towncrier
14
+print('Running towncrier...')
15
subprocess.check_call(['towncrier', '--yes'])
16
17
+print("Created newsfragments directory")
18
if not os.path.isdir('./newsfragments'):
- os.mkdir('./newsfragments')
19
+ os.mkdir('./newsfragments')
20
+
21
+print("Done!")
0 commit comments