From e86f18b5b6ceb67a6d6b3cfb55364f81d041afd9 Mon Sep 17 00:00:00 2001 From: Lukas Reining Date: Wed, 25 Sep 2024 11:46:42 +0200 Subject: [PATCH] fix(angular): fix version check for angular publishing (#1025) Fixes typo in angular sdk version check for publishing. Signed-off-by: Lukas Reining --- packages/angular/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/angular/package.json b/packages/angular/package.json index 0b0b44afe..f571d5b61 100644 --- a/packages/angular/package.json +++ b/packages/angular/package.json @@ -9,7 +9,7 @@ "test": "jest", "build": "ng build && npm run postbuild", "postbuild": "shx cp ./../../LICENSE ./dist/angular/LICENSE", - "publish-if-not-exists": "cp $NPM_CONFIG_USERCONFIG .npmrc && if [ \"$(npm --prefix dist/angular run current-deployed-version -s)\" = \"$(npm --prefix dist/angular run current-version -s)\" ]; then echo 'already published, skipping'; else cd dist/angular && npm publish --access public; fi" + "publish-if-not-exists": "cp $NPM_CONFIG_USERCONFIG .npmrc && if [ \"$(npm --prefix dist/angular run current-published-version -s)\" = \"$(npm --prefix dist/angular run current-version -s)\" ]; then echo 'already published, skipping'; else cd dist/angular && npm publish --access public; fi" }, "private": true, "devDependencies": {