fix: disinto release creates branch from dirty working tree #168
Labels
No labels
action
backlog
blocked
bug-report
in-progress
prediction/actioned
prediction/dismissed
prediction/unreviewed
priority
tech-debt
underspecified
vision
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: disinto-admin/disinto#168
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
disinto releasedoesgit checkout -B <branch>at line 2895 without first ensuring the branch starts from a clean, up-to-datemain. If the ops repo working tree has uncommitted changes or is on a different branch, they leak into the vault PR.Observed: the release/v020 branch included a diff for
vault/actions/release-v0.1.1.tomlthat was unrelated to the v0.2.0 release.Proposed solution
Before creating the branch:
git checkout maingit pull origin maingit checkout -B <branch> maingit addthe specific vault TOML file, notgit add -AAffected files
bin/disinto(lines 2894-2899)Acceptance criteria
Dependencies
Depends on #170