diff options
Diffstat (limited to 'scripts/publish')
-rwxr-xr-x | scripts/publish | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/publish b/scripts/publish index b761265..dc19211 100755 --- a/scripts/publish +++ b/scripts/publish @@ -11,7 +11,7 @@ main() { local date="$(date -Id)" mv "$file" entries/"$file" - jq "[.[], { title: \"$title\", date: \"$date\", file: \"$file\" }]" <metadata.json | sponge metadata.json + jq "[.[], { title: \"$title\", date: \"$date\", file: \"${file%.rst}\" }]" <metadata.json | sponge metadata.json } main "$@" |