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 ebe340d commit ae1bb36Copy full SHA for ae1bb36
CHANGELOG.md
@@ -230,7 +230,7 @@ Date: YYYY-MM-DD
230
231
## v6.30.1
232
233
-Date: 2025-05-19
+Date: 2025-05-20
234
235
### Patch Changes
236
scripts/changesets-release.sh
@@ -1,8 +1,11 @@
1
#!/bin/bash
2
3
+PACKAGE="./packages/react-router/package.json"
4
+IS_PRERELEASE=$(node -e "console.log(/-pre/.test(require('${PACKAGE}').version))")
5
+
6
# Can only provide a custom --tag when not in prerelease mode
7
# The prerelease tags come from the `pre.json`` "tag" field
-if [ -f ".changeset/pre.json" ];
8
+if [ ${IS_PRERELEASE} == "true" ]; then
9
echo "Publishing with default changesets tag (pre-release)"
10
pnpm exec changeset publish
11
else
0 commit comments