You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UN-3479 [FIX] release workflow: validate before tag/publish + lint cleanup
Fixes the issues exposed when the v1.3/v1.4 dispatches blew up:
- 10 E501 line-too-long violations in src/unstract/clone/ (caused the
lint failure in release run 26506031574)
- Release workflow did commit-bump + push-to-main + tag + GH release
BEFORE running lint/tests/build, so a lint failure left main with a
phantom version bump and an orphan release. Lint/tests/build now run
against the bumped __init__.py in-place, and only on success does the
workflow commit, tag, release, and PyPI-publish.
- Add ruff to the PR gate (test.yml) so lint regressions block at PR
time instead of release time.
- Revert __version__ from 1.4.0 to 1.2.1 so the next manual trigger
produces the intended v1.3.0 cleanly. Orphan v1.4.0 tag + GitHub
release have been deleted out-of-band.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
0 commit comments