@@ -54,35 +54,35 @@ jobs:
5454 id : version
5555 run : |
5656 echo "Calculating versions for native packages..."
57-
57+
5858 # Calculate version for native-types
59- TYPES_RESULT=$(pnpm package-versioner --bump ${{ inputs.release_version }} --dry-run --json --loglevel=error -t @wdio/native-types)
59+ TYPES_RESULT=$(pnpm --loglevel=error package-versioner --bump ${{ inputs.release_version }} --dry-run --json -t @wdio/native-types)
6060 TYPES_VERSION=$(echo "$TYPES_RESULT" | jq -r '.updates[0].newVersion // empty')
61-
61+
6262 # Calculate version for native-utils
63- UTILS_RESULT=$(pnpm package-versioner --bump ${{ inputs.release_version }} --dry-run --json --loglevel=error -t @wdio/native-utils)
63+ UTILS_RESULT=$(pnpm --loglevel=error package-versioner --bump ${{ inputs.release_version }} --dry-run --json -t @wdio/native-utils)
6464 UTILS_VERSION=$(echo "$UTILS_RESULT" | jq -r '.updates[0].newVersion // empty')
65-
65+
6666 if [ -z "$TYPES_VERSION" ] || [ -z "$UTILS_VERSION" ]; then
6767 echo "❌ Failed to calculate versions"
6868 exit 1
6969 fi
70-
70+
7171 echo "📦 @wdio/native-types: $TYPES_VERSION"
7272 echo "📦 @wdio/native-utils: $UTILS_VERSION"
73-
73+
7474 echo "types_version=$TYPES_VERSION" >> $GITHUB_OUTPUT
7575 echo "utils_version=$UTILS_VERSION" >> $GITHUB_OUTPUT
7676
7777 - name : Update package versions
7878 if : ${{ !inputs.dry_run }}
7979 run : |
8080 echo "Updating native-types to ${{ steps.version.outputs.types_version }}..."
81- pnpm package-versioner --bump ${{ inputs.release_version }} --loglevel=error -t @wdio/native-types
82-
81+ pnpm --loglevel=error package-versioner --bump ${{ inputs.release_version }} -t @wdio/native-types
82+
8383 echo "Updating native-utils to ${{ steps.version.outputs.utils_version }}..."
84- pnpm package-versioner --bump ${{ inputs.release_version }} --loglevel=error -t @wdio/native-utils
85-
84+ pnpm --loglevel=error package-versioner --bump ${{ inputs.release_version }} -t @wdio/native-utils
85+
8686 # Commit and push changes
8787 git config user.name "github-actions[bot]"
8888 git config user.email "github-actions[bot]@users.noreply.github.com"
@@ -100,7 +100,7 @@ jobs:
100100 cd packages/native-types
101101 pnpm publish --access public --no-git-checks
102102 cd ../..
103-
103+
104104 echo "Publishing @wdio/native-utils@${{ steps.version.outputs.utils_version }}..."
105105 cd packages/native-utils
106106 pnpm publish --access public --no-git-checks
@@ -116,7 +116,7 @@ jobs:
116116 --title "@wdio/native-types v${{ steps.version.outputs.types_version }}" \
117117 --notes-file packages/native-types/CHANGELOG.md \
118118 --latest=false
119-
119+
120120 # Create release for native-utils
121121 gh release create "@wdio/native-utils@v${{ steps.version.outputs.utils_version }}" \
122122 --title "@wdio/native-utils v${{ steps.version.outputs.utils_version }}" \
0 commit comments