Skip to content

Commit

Permalink
ALFREDAPI-536: Add date in tarball
Browse files Browse the repository at this point in the history
  • Loading branch information
WimCrols committed Dec 12, 2023
1 parent 342d2e5 commit 3983b3b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/build-website.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,6 @@ build_swaggerdoc alfred-api

find build/website -type f -name '*.html' -print0 | xargs -0 sed -i "/^<\!DOCTYPE html>$/a\
\<\!-- alfred-docs@$(git describe --always --dirty) --\>"
tar czf build/website-alfred-api.tar.gz -C build/website .

TODAY=$( date -I )
tar czf "build/website-alfred-api_$TODAY.tar.gz" -C build/website .

0 comments on commit 3983b3b

Please sign in to comment.