aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2022-04-26 19:24:49 -0500
committerLibravatar Vijay A <vraravam@users.noreply.github.com>2022-04-26 19:24:49 -0500
commitbfa1773817b6de25e9dce0df03caf97b28a4f47d (patch)
treedd48352b9b1ab71d0baf89721acd64b9076dd3dc /scripts
parentchore: fix typo in EditSettingsForm.js [skip ci] (diff)
downloadferdium-app-bfa1773817b6de25e9dce0df03caf97b28a4f47d.tar.gz
ferdium-app-bfa1773817b6de25e9dce0df03caf97b28a4f47d.tar.zst
ferdium-app-bfa1773817b6de25e9dce0df03caf97b28a4f47d.zip
Remove straggling reference to 'jq'.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build-unix.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/build-unix.sh b/scripts/build-unix.sh
index 4cefae0be..093a0ec02 100755
--- a/scripts/build-unix.sh
+++ b/scripts/build-unix.sh
@@ -32,7 +32,6 @@ command_exists() {
32# Checking the developer environment 32# Checking the developer environment
33# Check for installed programmes 33# Check for installed programmes
34command_exists node || fail_with_docs "Node is not installed" 34command_exists node || fail_with_docs "Node is not installed"
35command_exists jq || fail_with_docs "jq is not installed"
36command_exists python || fail_with_docs "python is not installed" 35command_exists python || fail_with_docs "python is not installed"
37 36
38# Check node version 37# Check node version
@@ -149,7 +148,7 @@ $BASE_CMD run build -- --$TARGET_ARCH --$TARGET_OS --dir
149printf "\n*************** App successfully built! ***************\n" 148printf "\n*************** App successfully built! ***************\n"
150 149
151# Final check to ensure that the version built is the same as the latest commit 150# Final check to ensure that the version built is the same as the latest commit
152VERSION_BUILT_HASH=$(jq --raw-output .gitHashShort ./build/buildInfo.json) 151VERSION_BUILT_HASH=$(node -p 'require("./build/buildInfo.json").gitHashShort')
153GIT_BUILT_HASH=$(git rev-parse --short HEAD) 152GIT_BUILT_HASH=$(git rev-parse --short HEAD)
154if [[ $GIT_BUILT_HASH != $VERSION_BUILT_HASH ]]; then 153if [[ $GIT_BUILT_HASH != $VERSION_BUILT_HASH ]]; then
155 echo "The built version is not on the latest commit 154 echo "The built version is not on the latest commit