Commit 45f8a0d
authored
fix(build-tools): Fix typetests header version format (#25830)
## Description
This PR removes the pre-release/metadata from the current version when
generating the header for typetest files. For example, if the current
version is `1.2.3-foo` the file would be generated with `1.2.3` instead.
This is important since it prevents CI builds from changing the
typetests files unexpectedly.1 parent 7cbd4a8 commit 45f8a0d
File tree
1 file changed
+5
-1
lines changed- build-tools/packages/build-cli/src/commands/generate
1 file changed
+5
-1
lines changedLines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
164 | 165 | | |
165 | 166 | | |
166 | 167 | | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
167 | 171 | | |
168 | 172 | | |
169 | 173 | | |
| |||
175 | 179 | | |
176 | 180 | | |
177 | 181 | | |
178 | | - | |
| 182 | + | |
179 | 183 | | |
180 | 184 | | |
181 | 185 | | |
| |||
0 commit comments