File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -93,15 +93,11 @@ jobs:
9393 - id : get-release-version
9494 shell : bash
9595 run : |
96- # Get version from the latest git tag created by the release action
97- TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "")
98- if [ -z "$TAG" ]; then
99- # Fallback to package.json version if no tag found
100- TAG="v$(node -p "require('./package.json').version")"
101- fi
96+ # Read the released root package version directly so Pages paths track
97+ # the monorepo release rather than whichever workspace tag git sees last.
98+ VERSION=$(node -p "require('./package.json').version")
99+ TAG="v$VERSION"
102100 echo "RELEASE_TAG=$TAG" >> "$GITHUB_OUTPUT"
103- # Remove 'v' prefix for the version output
104- VERSION=${TAG#v}
105101 echo "RELEASE_VERSION=$VERSION" >> "$GITHUB_OUTPUT"
106102 - id : check-rn-playground
107103 shell : bash
You can’t perform that action at this time.
0 commit comments