Commit 910d4d1
Fix sitemap generation bug in oldump.sh
Remove conditional check that prevented sitemap regeneration on subsequent runs.
The script now always removes and recreates the sitemaps directory, ensuring
sitemaps are generated for each dump run instead of only on the first run.
Fixes issue where sitemaps were only generated when --overwrite was specified
or on the very first run, causing 404 errors on sitemap URLs.
Co-authored-by: mekarpeles <978325+mekarpeles@users.noreply.github.com>1 parent bc653c8 commit 910d4d1
1 file changed
+7
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
235 | 230 | | |
236 | 231 | | |
237 | 232 | | |
| |||
0 commit comments