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 4747 if : steps.version_check.outputs.exists != 'true'
4848 run : |
4949 hatch build
50- - name : Reset __version__ to base version
51- if : always()
52- run : python .hooks/sync_version.py
5350
5451 - name : Publish to Test PyPI
5552 if : steps.version_check.outputs.exists != 'true'
Original file line number Diff line number Diff line change @@ -35,7 +35,9 @@ def main():
3535 if hatch_version != current_version :
3636 print (f"🔁 Updating version: { current_version } → { hatch_version } " )
3737 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
3941
4042 print (f"✅ Version is in sync: { hatch_version } " )
4143 return 0
Original file line number Diff line number Diff line change 11__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