From a3d8dcc2480e0cf7640c830e3fb8625a3d17e9df Mon Sep 17 00:00:00 2001 From: Thibault Maekelbergh Date: Tue, 20 Aug 2019 16:37:41 +0200 Subject: [PATCH] Verify that version of binary is same as package.json --- .circleci/config.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 143af42..9b90845 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -76,6 +76,9 @@ jobs: - <<: *install_node_modules - run: ./node_modules/.bin/pkg cli.js -t node8-linux-x64 --output ./bin/hubble-cli - run: ./bin/hubble-cli --version + - run: + command: | + [ $(npx -c 'echo "$npm_package_version"') = $(./bin/hubble-cli --version) ] workflows: version: 2