Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commit6c34d3569c3a1144b1db911328cf18b4821f77e3 (patch)
Author
 Syndamia <kamen@syndamia.com>
2023-09-11 09:43:44 +0300
Committer
 Syndamia <kamen@syndamia.com>
2023-09-11 09:43:44 +0300
Files4222a61b415ea6ab23e563c66cb7a9b0905f0efc
syndamia.com-6c34d3569c3a1144b1db911328cf18b4821f77e3.tar
syndamia.com-6c34d3569c3a1144b1db911328cf18b4821f77e3.tar.gz
syndamia.com-6c34d3569c3a1144b1db911328cf18b4821f77e3.zip
Parent8b4999e2681c954f4898519e61db737dd5027848 (diff)
[generate.sh] Fixed timestamps file generation
1 files changed, 2 insertions, 2 deletions
-rwxr-xr-xgenerate.sh4
diff --git a/generate.sh b/generate.sh
index d5d1eee..c4966b5 100755
--- a/generate.sh
+++ b/generate.sh
@@ -35,8 +35,8 @@
startTimer
for file in $(find "$REPO_FOLDER/src" -type f -regex '.*\(blog\|tutorials\|talks\)/.*md'); do
- dates=($(git log --reverse --follow --pretty=format:%ad --date="format:%d %B %Y" -- $file))
- line="./website${file:5:-2}html\t${dates[@]:0:3}\t${dates[@]: -3:3}"
+ dates=($(git log --follow --pretty=format:%ad --date="format:%d %B %Y" -- $file))
+ line="./website${file:5:-2}html\t${dates[@]: -3:3}\t${dates[@]:0:3}"
echo -e $line >> timestamps.txt
done
endTimer "[Stage 1.5] Recreated timestamps.txt"