mirror of
https://github.com/penpot/penpot.git
synced 2025-05-09 21:46:37 +02:00
🎉 Add build date and changelog to the bundle
This commit is contained in:
parent
2af057a79f
commit
b2607b28ff
8 changed files with 37 additions and 3 deletions
|
@ -3,6 +3,7 @@
|
|||
set -ex
|
||||
|
||||
CURRENT_VERSION=$1;
|
||||
BUILD_DATE=$(date -R);
|
||||
CURRENT_HASH=${CURRENT_HASH:-$(git rev-parse --short HEAD)};
|
||||
EXTRA_PARAMS=$SHADOWCLJS_EXTRA_PARAMS;
|
||||
|
||||
|
@ -14,4 +15,4 @@ npx gulp dist:clean || exit 1;
|
|||
npx gulp dist:copy || exit 1;
|
||||
|
||||
sed -i -re "s/\%version\%/$CURRENT_VERSION/g" ./target/dist/index.html;
|
||||
|
||||
sed -i -re "s/\%buildDate\%/$BUILD_DATE/g" ./target/dist/index.html;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue