From 3675b3b44196365597c26b3ceced9cd8d45bb91b Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Thu, 22 Aug 2024 13:28:04 -0300 Subject: [PATCH] v0.9.0 --- VERSION | 1 - nanoc/lib/utils.rb | 6 ++++-- share/al-quran.reflectslight.io/CHANGELOG.org | 2 +- share/al-quran.reflectslight.io/VERSION | 1 + 4 files changed, 6 insertions(+), 4 deletions(-) delete mode 100644 VERSION create mode 100644 share/al-quran.reflectslight.io/VERSION diff --git a/VERSION b/VERSION deleted file mode 100644 index 90d9dc1..0000000 --- a/VERSION +++ /dev/null @@ -1 +0,0 @@ -v0.8.8 diff --git a/nanoc/lib/utils.rb b/nanoc/lib/utils.rb index f268326..596e98d 100644 --- a/nanoc/lib/utils.rb +++ b/nanoc/lib/utils.rb @@ -44,8 +44,10 @@ module Utils # @return [String] # Returns the website version def version - @version ||= File.read(File.join(dirs.root, "VERSION")) - .gsub(/[^\d.]/, "") + @version ||= begin + path = File.join(dirs.root, "share", "al-quran.reflectslight.io", "VERSION") + File.read(path).gsub(/[^\d.]/, "") + end end ## diff --git a/share/al-quran.reflectslight.io/CHANGELOG.org b/share/al-quran.reflectslight.io/CHANGELOG.org index 1d9f1fb..2dc7aa1 100644 --- a/share/al-quran.reflectslight.io/CHANGELOG.org +++ b/share/al-quran.reflectslight.io/CHANGELOG.org @@ -1,4 +1,4 @@ -* vNEXT +* v0.9.0 **** Add ~share/al-quran.reflectslight.io/documentation/~ This change replaces ~share/doc/al-quran.reflectslight.io~ diff --git a/share/al-quran.reflectslight.io/VERSION b/share/al-quran.reflectslight.io/VERSION new file mode 100644 index 0000000..f979ade --- /dev/null +++ b/share/al-quran.reflectslight.io/VERSION @@ -0,0 +1 @@ +v0.9.0