Commit 0e89304
committed
Fix towncrier scheme to properly handle both monorepo and standard layouts
The scheme now correctly:
- Uses relative_to (config file location) when set (for monorepo support)
- Falls back to absolute_root (VCS root) when relative_to is not set
This fixes the test failures where fallback_root (which defaults to ".")
was being used instead of absolute_root, causing fragments to not be found.1 parent be588eb commit 0e89304
File tree
1 file changed
+4
-4
lines changed- vcs-versioning/src/vcs_versioning
1 file changed
+4
-4
lines changedLines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
114 | | - | |
| 113 | + | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
126 | | - | |
| 125 | + | |
| 126 | + | |
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| |||
0 commit comments