File tree 3 files changed +8
-5
lines changed
3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -83,11 +83,14 @@ def main():
83
83
if dev_mode :
84
84
base_version = current_version .split (".dev" )[0 ] if ".dev" in current_version else current_version
85
85
new_version = find_next_available_dev_version (base_version )
86
+ inject_version (new_version )
87
+ print ("⚠️ Version was unchanged — auto-bumped. Please git add + commit again." )
88
+ sys .exit (0 )
86
89
else :
87
90
new_version = bump_patch_version (current_version )
88
- inject_version (new_version )
89
- print ("⚠️ Version was unchanged — auto-bumped. Please git add + commit again." )
90
- sys .exit (1 )
91
+ inject_version (new_version )
92
+ print ("⚠️ Version was unchanged — auto-bumped. Please git add + commit again." )
93
+ sys .exit (1 )
91
94
else :
92
95
print ("✅ Version already bumped — proceeding." )
93
96
sys .exit (0 )
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ build-backend = "hatchling.build"
6
6
7
7
[project ]
8
8
name = " socketsecurity"
9
- version = " 2.0.26 "
9
+ version = " 2.0.27 "
10
10
requires-python = " >= 3.10"
11
11
dependencies = [
12
12
' requests' ,
Original file line number Diff line number Diff line change 1
1
__author__ = 'socket.dev'
2
- __version__ = '2.0.26 '
2
+ __version__ = '2.0.27 '
3
3
You can’t perform that action at this time.
0 commit comments