Commit f6e8120
committed
Gate the style.scss version banner instead of letting it drift
The stylesheet header still said `Version: 2.9.0`, thirteen patch
releases behind, because nothing checked it — Omeka reads the version
from config/theme.ini and cssnano strips the banner out of the compiled
CSS, so the only reader was whoever opened the Sass source and believed
it.
Correcting the number alone would just restart the drift, so
release.yml's version step now covers four files rather than three: a
tag that disagrees with the banner fails the release the same way a tag
disagreeing with theme.ini does.
Two neighbouring lines in the same header were stale for the same
reason. `Requires PHP: 7.4` predates composer.json's `^8.1` floor, and
the description still called IWAC a "digital archive" — the wording the
terminology pass in 6021b84 replaced everywhere it was checked.
No compiled output changes; the banner never reached asset/css.1 parent 2ee51a5 commit f6e8120
3 files changed
Lines changed: 14 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
43 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
48 | 50 | | |
49 | | - | |
| 51 | + | |
| 52 | + | |
50 | 53 | | |
51 | 54 | | |
52 | 55 | | |
| 56 | + | |
53 | 57 | | |
54 | 58 | | |
55 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
| 6 | + | |
| 7 | + | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
0 commit comments