Skip to content

Commit e86f18b

Browse files
fix(angular): fix version check for angular publishing (#1025)
<!-- Please use this template for your pull request. --> <!-- Please use the sections that you need and delete other sections --> Fixes typo in angular sdk version check for publishing. Signed-off-by: Lukas Reining <[email protected]>
1 parent e6adae0 commit e86f18b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/angular/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"test": "jest",
1010
"build": "ng build && npm run postbuild",
1111
"postbuild": "shx cp ./../../LICENSE ./dist/angular/LICENSE",
12-
"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"
12+
"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"
1313
},
1414
"private": true,
1515
"devDependencies": {

0 commit comments

Comments
 (0)