Skip to content

Commit

Permalink
fix(): correct version being used in CLI package [PHX-2553] (#2001)
Browse files Browse the repository at this point in the history
* fix(): ensure correct version is being used in the released CLI package

* fix(): correct prePublishOnly script
  • Loading branch information
andreascful committed Apr 21, 2023
1 parent 233eea4 commit 2d64b6d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .circleci/config.yml
Expand Up @@ -72,7 +72,8 @@ jobs:
- run: git fetch --tags
- run: npm ci
- run: npm run tsc
- run: npm run build:package
# The build is automatically executed in a prepublishOnly script to ensure that the package.json with the updated version
# is being packaged
- run: npm run semantic-release
audit:
docker: &ref_0
Expand Down
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -31,6 +31,7 @@
"test:e2e": "JEST_SUITE_NAME=\"Unit Tests\" JEST_JUNIT_OUTPUT_NAME=\"e2e-tests.xml\" cross-env jest --testPathPattern=test/e2e --verbose",
"precommit": "npm run prettier:write && lint-staged",
"prepush": "jest --changedSince master test/unit/**",
"prepublishOnly": "npm run build:package",
"prettier": "prettier --config .prettierrc \"./*.js\" \"{./lib,./test,./docs,.}/**/*.{js,json,md}\"",
"prettier:write": "npm run prettier -- --write",
"prettier:debug": "npm run prettier -- --debug-check",
Expand Down

0 comments on commit 2d64b6d

Please sign in to comment.