Skip to content

Commit 6c342aa

Browse files
authored
Merge branch 'main' into dependabot/npm_and_yarn/eslint-9dc0f6ef15
2 parents eff6ac1 + 686ced9 commit 6c342aa

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,10 @@ jobs:
9292
npx changeset pre exit
9393
npx changeset version --snapshot
9494
else
95-
pkg_json_path=packages/react/package.json
96-
version=$(jq -r .version $pkg_json_path)
97-
echo "$( jq ".version = \"$(echo $version)-rc.$(git rev-parse --short HEAD)\"" $pkg_json_path )" > $pkg_json_path
95+
for pkg_json_path in packages/react/package.json packages/styled-react/package.json; do
96+
version=$(jq -r .version $pkg_json_path)
97+
echo "$( jq ".version = \"$(echo $version)-rc.$(git rev-parse --short HEAD)\"" $pkg_json_path )" > $pkg_json_path
98+
done
9899
fi
99100
100101
npx changeset publish --tag next

0 commit comments

Comments
 (0)