mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-17 05:41:50 +01:00
fix(ship-release): skip push guards only when origin holds no other branch; HEAD must not move during the run; a dirty-tree stop names failing guards
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
f44e61c7ee
commit
c85d3e6dbf
3 files changed
+15
-11
No files matched your search
+2
-2
@@ -1107,8 +1107,8 @@ HEAD's exact tree is reused instead of rerun: either push's own record or
|
||||
place one. The guards must have checked the tree being pushed, so uncommitted
|
||||
or untracked files that change what they saw stop the push until you commit or
|
||||
stash them. A refused run (an unreadable policy, a base that is on origin but
|
||||
not fetched, a mistyped `--base`) stops the push too; only a remote with no base
|
||||
branch at all skips the guards, as `GUARDS: not run`. Outside /ship, run the
|
||||
not fetched, a mistyped `--base`) stops the push too; only a remote that has no branch except the one
|
||||
being pushed skips the guards, as `GUARDS: not run`. Outside /ship, run the
|
||||
command above yourself before `git push`.
|
||||
|
||||
gstack declares its own list in `.gstack/pregate.json`: `typecheck`,
|
||||
|
||||
Reference in new issue
Block a user