diff --git a/.github/workflows/release_candidate.yml b/.github/workflows/release_candidate.yml index 1ddefb95167..2ed0d61aaf0 100644 --- a/.github/workflows/release_candidate.yml +++ b/.github/workflows/release_candidate.yml @@ -42,6 +42,11 @@ jobs: - name: Publish release candidate run: | + # Remove existing pre.json if one exists. Snapshots are not allowed + # in pre-release mode. + # TODO: remove in v37 + rm .changeset/pre.json + pkg_json_path=packages/react/package.json version=$(jq -r .version $pkg_json_path) echo "$( jq ".version = \"$(echo $version)-rc.$(git rev-parse --short HEAD)\"" $pkg_json_path )" > $pkg_json_path