Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Commit

Permalink
fix(publication): update publication steps for semantic-release 4 (#159)
Browse files Browse the repository at this point in the history
Updates semantic release to v4 format (no pre / post steps)

Co-authored-by: obartraindeed <[email protected]>
  • Loading branch information
obartra and obartraindeed authored Dec 29, 2019
1 parent 57e93c4 commit 9d11e1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@ jobs:
command: |
if [ "${CIRCLE_BRANCH}" == "master" ]; then
echo "Publishing latest release"
yarn build
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> ~/.npmrc
yarn semantic-release || exit 0
yarn semantic-release || true
else
echo "Skipping publication in non-release branch"
fi
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"test": "jest --testTimeout=500000",
"lint": "eslint .",
"build": "rm -rf dist && tsc && webpack --mode=production",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
"semantic-release": "semantic-release"
},
"repository": {
"url": "https://github.com/obartra/ssim.git",
Expand Down

0 comments on commit 9d11e1b

Please sign in to comment.