Commit fc34df7
fix(pre_build): a fully-ignored dataset/ must not abort the release (#154)
`git add dataset/` exits non-zero when every path it matches is ignored,
and pre_build.sh runs under `set -e`, so the first workspace with a wholly
ignored dataset/ killed the release before anything was dispatched.
7 of 11 release workspaces ignore dataset/ outright (autofit_workspace, the
three *_workspace_test repos, and the three HowTo repos), so this aborted on
the very first repo processed. Staging nothing is the correct outcome there.
Latent since #150 dropped the `git add -f` (correctly — the -f was force-
committing simulated datasets, #126). The live path has not run since: the
2026.7.9.1 release predates #150, and the nightly driver has stopped at
Stage 4 validation every night since, so this is the first execution of the
step post-#150.
Only the failure path changes: where `git add dataset/` already succeeded
(autolens_workspace's 13 allowlisted real datasets, autogalaxy_workspace's 5)
the command is unchanged and real observational data still stages.
Co-authored-by: Jammy2211 <JNightingale2211@gmail.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent dfa509e commit fc34df7
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
76 | 81 | | |
77 | 82 | | |
78 | 83 | | |
| |||
0 commit comments