Skip to content

Commit 84b8d65

Browse files
authored
ci: fix usage of set-version script (#2262)
1 parent 64a9964 commit 84b8d65

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.ado/templates/apple-steps-publish.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,12 @@ steps:
2424
echo "##vso[task.setvariable variable=RNM_PACKAGE_VERSION]$(node .ado/get-next-semver-version.js)"
2525
echo "Next package version: $RNM_PACKAGE_VERSION"
2626
27-
# Note, This won't do the actual `git tag` and `git push` as we're doing a dry run.
28-
# We do that as a separate step in `.ado/publish.yml`.
2927
- task: CmdLine@2
3028
displayName: Prepare React Native macOS release
3129
inputs:
3230
script: |
3331
set -eox pipefail
34-
node scripts/releases/set-version.js -v $RNM_PACKAGE_VERSION --build-type "release"
32+
node scripts/releases/set-version.js $RNM_PACKAGE_VERSION
3533
3634
# Note: This won't actually publish to NPM as we've commented that bit out.
3735
# We do that as a separate step in `.ado/publish.yml`.

0 commit comments

Comments
 (0)