Skip to content

Commit f5596d9

Browse files
authored
ci: fix publish script deploying to chromatic (#829)
* ci: fix publish script deploying to chromatic * chore: update version+changelog
1 parent ff7af58 commit f5596d9

File tree

7 files changed

+14
-7
lines changed

7 files changed

+14
-7
lines changed

.circleci/publish.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ if [[ `echo $isLatest | jq .isLatest` == "true" ]]
1212
then
1313
cd ..
1414
npm publish --tag latest
15-
npx -y chromatic
15+
npm i || exit $?
16+
npx -y chromatic --auto-accept-changes master
1617
else
1718
cd ..
1819
npm publish --tag version-$version

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [unreleased]
99

10+
## [0.42.2] - 2024-05-29
11+
12+
### Changes
13+
14+
- Updating publish script to update to the lib on chromatic
15+
1016
## [0.42.1] - 2024-05-29
1117

1218
### Changes

lib/build/genericComponentOverrideContext.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/build/version.d.ts

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/ts/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
* License for the specific language governing permissions and limitations
1313
* under the License.
1414
*/
15-
export const package_version = "0.42.1";
15+
export const package_version = "0.42.2";

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "supertokens-auth-react",
3-
"version": "0.42.1",
3+
"version": "0.42.2",
44
"description": "ReactJS SDK that provides login functionality with SuperTokens.",
55
"main": "./index.js",
66
"engines": {

0 commit comments

Comments
 (0)