Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.

Commit 9e0a2a2

Browse files
authored
Merge pull request #3386 from input-output-hk/devops-999-explorer-gitrev-release-1.3.1
[DEVOPS-999] explorer frontend: Replace @gitrev@ with actual rev
2 parents 9026425 + 359ae7e commit 9e0a2a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

explorer/frontend/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ let
5959
6060
# Patch the build recipe for nix
6161
echo "patching webpack.config.babel.js"
62-
sed -e "s/COMMIT_HASH.*/COMMIT_HASH': '\"@GITREV@\"',/" \
62+
sed -e "s/COMMIT_HASH.*/COMMIT_HASH': '\"${gitrev}\"',/" \
6363
-e "s/import GitRevisionPlugin.*//" \
6464
-e "s/path:.*/path: process.env.out,/" \
6565
-e "/new ProgressPlugin/d" \

0 commit comments

Comments
 (0)