From 0c4e5598d1ae6aaf68710ea4ca41c3d118ddb0d3 Mon Sep 17 00:00:00 2001 From: Carina Ursu Date: Tue, 7 Mar 2023 13:15:22 -0800 Subject: [PATCH] fix: update_npmversion (#713) Signed-off-by: Carina Ursu --- Makefile | 7 ++++--- website/package.json | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 136020c79..c205846ae 100644 --- a/Makefile +++ b/Makefile @@ -49,9 +49,10 @@ test_unit_codecov: generate_ssl: ./script/generate_ssl.sh -PLACEHOLDER_NPM := \"version\": \"0.0.0-develop\" +PLACEHOLDER_NPM := "version": "0.0.0-develop" .PHONY: update_npmversion update_npmversion: - grep "$(PLACEHOLDER_NPM)" "website/package.json" - sed -i "s/$(PLACEHOLDER_NPM)/\"version\": \"${VERSION}\"/g" "website/package.json" + echo "Updating client-app version to: $(VERSION)" + grep '$(PLACEHOLDER_NPM)' website/package.json + sed -i '' 's/$(PLACEHOLDER_NPM)/"version": "$(VERSION)"/g' website/package.json diff --git a/website/package.json b/website/package.json index 2a84ca37f..4d2a22b6f 100644 --- a/website/package.json +++ b/website/package.json @@ -1,6 +1,6 @@ { "name": "@flyteconsole/client-app", - "version": "2.0.0", + "version": "0.0.0-develop", "description": "The web UI for the Flyte platform", "private": true, "repository": {