first test action
This commit is contained in:
10
compile.sh
10
compile.sh
@@ -1,7 +1,13 @@
|
||||
#!/bin/bash
|
||||
t='['
|
||||
for entry in notes/*
|
||||
do
|
||||
echo $entry
|
||||
test=`git log --follow --format=%ad --date=format:'%Y-%m-%d' -- $entry`
|
||||
echo $test
|
||||
filename=$(basename "$entry" .md)
|
||||
#filename="${entry%}"
|
||||
timestamp=`git log --follow --format=%ad --date=format:'%Y-%m-%d' -- $entry`
|
||||
t+="{\"source\"=\"$entry\",\"dest\"=\"$filename\",\"time\"=\"$timestamp\"},"
|
||||
done
|
||||
echo "value=${t%?}]"
|
||||
echo "value=${t%?}]" >> $GITHUB_OUTPUT
|
||||
|
||||
|
Reference in New Issue
Block a user