Skip to content

Commit

Permalink
ci: fix publish script deploying to chromatic (#829)
Browse files Browse the repository at this point in the history
* ci: fix publish script deploying to chromatic

* chore: update version+changelog
  • Loading branch information
porcellus authored May 29, 2024
1 parent ff7af58 commit f5596d9
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .circleci/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ if [[ `echo $isLatest | jq .isLatest` == "true" ]]
then
cd ..
npm publish --tag latest
npx -y chromatic
npm i || exit $?
npx -y chromatic --auto-accept-changes master
else
cd ..
npm publish --tag version-$version
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [unreleased]

## [0.42.2] - 2024-05-29

### Changes

- Updating publish script to update to the lib on chromatic

## [0.42.1] - 2024-05-29

### Changes
Expand Down
2 changes: 1 addition & 1 deletion lib/build/genericComponentOverrideContext.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/build/version.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/ts/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
* License for the specific language governing permissions and limitations
* under the License.
*/
export const package_version = "0.42.1";
export const package_version = "0.42.2";
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "supertokens-auth-react",
"version": "0.42.1",
"version": "0.42.2",
"description": "ReactJS SDK that provides login functionality with SuperTokens.",
"main": "./index.js",
"engines": {
Expand Down

0 comments on commit f5596d9

Please sign in to comment.