Consolidate hard-coded version numbers where possible

Now only 4 files left untouchable.
Search README.md for "Dev note" for details.
This commit is contained in:
iBug
2024-04-23 01:28:03 +08:00
parent aae8dac76c
commit 8d3592ff70
14 changed files with 106 additions and 56 deletions
+5 -3
View File
@@ -1,9 +1,11 @@
# coding: utf-8
require "json"
package_json = JSON.parse(File.read("package.json"))
Gem::Specification.new do |spec|
spec.name = "minimal-mistakes-jekyll"
spec.version = "4.24.0"
spec.authors = ["Michael Rose"]
spec.version = package_json["version"]
spec.authors = ["Michael Rose", "iBug"]
spec.summary = %q{A flexible two-column Jekyll theme.}
spec.homepage = "https://github.com/mmistakes/minimal-mistakes"