Created
November 5, 2019 14:05
-
-
Save gabrielizalo/ff21200d3de9b71582c1f033dcf8705b to your computer and use it in GitHub Desktop.
React App - Build Version - Part 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"build": | |
"react-scripts build && | |
REACTBUILDVERSION=$(date +%Y-%m-%d)-$(date +%T) && | |
sed -i -- 's/%REACTBUILDVERSION%/'$REACTBUILDVERSION'/g' build/index.html && | |
echo React Build Version = $REACTBUILDVERSION", |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment