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

[DEVOPS-999] explorer frontend: Replace @GITREV@ with actual rev #3386

Merged
merged 1 commit into from
Aug 20, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion explorer/frontend/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ let

# Patch the build recipe for nix
echo "patching webpack.config.babel.js"
sed -e "s/COMMIT_HASH.*/COMMIT_HASH': '\"@GITREV@\"',/" \
sed -e "s/COMMIT_HASH.*/COMMIT_HASH': '\"${gitrev}\"',/" \
-e "s/import GitRevisionPlugin.*//" \
-e "s/path:.*/path: process.env.out,/" \
-e "/new ProgressPlugin/d" \
Expand Down