Created
November 5, 2019 15:42
-
-
Save gabrielizalo/f8935351ef889b80343a3370d39a7980 to your computer and use it in GitHub Desktop.
React App - App Version - Part 2
This file contains hidden or 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 && | |
REACTAPPVERSION=$npm_package_version && | |
sed -i -- 's/%REACT_APP_VERSION%/'$REACTAPPVERSION'/g' build/index.html && | |
echo React App Version = $REACTAPPVERSION", |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment