Skip to content

Commit

Permalink
modify build script to ship a version file
Browse files Browse the repository at this point in the history
  • Loading branch information
blendtwenty committed Feb 12, 2024
1 parent 944ca3f commit 6d048a8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,8 @@ echo "fetch.dogecoin.org" > CNAME
cp src/index.html dist/index.html
cp -R src/lib dist/lib
cp -R resources dist/
cp -R example dist/
cp -R example dist/

# Write some version data
echo "Commit:$(git log -1 --pretty=format:%h)" >> dist/version.txt
echo "UTC:$(date -u)" >> dist/version.txt

0 comments on commit 6d048a8

Please sign in to comment.