-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed tests, added built time to version info, fixed console err
- Loading branch information
Ingo Jaeckel
committed
Dec 27, 2022
1 parent
fc5100b
commit bcf9848
Showing
5 changed files
with
23 additions
and
15 deletions.
There are no files selected for viewing
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
#!/bin/sh | ||
set -e -x | ||
GIT_COMMIT=`git rev-parse HEAD` | ||
CI=true REACT_APP_GIT_SHA=${GIT_COMMIT} npm run build | ||
COMMIT=`git rev-parse HEAD` | ||
COMMIT_ABBREV=`git rev-parse --short HEAD` | ||
COMMIT_TIME=`git log -1 --format=%cd` | ||
CI=true \ | ||
REACT_APP_GIT_SHA=${COMMIT} \ | ||
REACT_APP_GIT_SHA_ABBREV=${COMMIT_ABBREV} \ | ||
REACT_APP_COMMIT_TIME=${COMMIT_TIME} \ | ||
npm run build |
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
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
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