File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 47
47
if : steps.version_check.outputs.exists != 'true'
48
48
run : |
49
49
hatch build
50
- - name : Reset __version__ to base version
51
- if : always()
52
- run : python .hooks/sync_version.py
53
50
54
51
- name : Publish to Test PyPI
55
52
if : steps.version_check.outputs.exists != 'true'
Original file line number Diff line number Diff line change @@ -35,7 +35,9 @@ def main():
35
35
if hatch_version != current_version :
36
36
print (f"🔁 Updating version: { current_version } → { hatch_version } " )
37
37
update_version (hatch_version )
38
- return 1 if not full_mode else 0 # Fail locally to force re-add, but not in CI
38
+
39
+ # In --dev mode, we don't fail — we expect this to update it
40
+ return 0 if full_mode else 1
39
41
40
42
print (f"✅ Version is in sync: { hatch_version } " )
41
43
return 0
Original file line number Diff line number Diff line change 1
1
__author__ = 'socket.dev'
2
- __version__ = '2.0.19 '
2
+ __version__ = '2.0.20 '
You can’t perform that action at this time.
0 commit comments