We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1cda89c commit 955b671Copy full SHA for 955b671
.github/workflows/release_candidate.yml
@@ -49,7 +49,12 @@ jobs:
49
50
pkg_json_path=packages/react/package.json
51
version=$(jq -r .version $pkg_json_path)
52
- echo "$( jq ".version = \"$(echo $version)-rc.$(git rev-parse --short HEAD)\"" $pkg_json_path )" > $pkg_json_path
+
53
+ # Update how the version is generated in these prereleases. By
54
+ # default, -rc. is included in versions when `pre.json` is present.
55
+ # Add this back in when we exit the v37 release
56
+ # TODO: remove in v37
57
+ echo "$( jq ".version = \"$(echo $version).$(git rev-parse --short HEAD)\"" $pkg_json_path )" > $pkg_json_path
58
npx changeset publish --tag next
59
env:
60
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments