Skip to content

Commit

Permalink
ci: fix usage of set-version script (#2262)
Browse files Browse the repository at this point in the history
  • Loading branch information
Saadnajmi authored Oct 31, 2024
1 parent 64a9964 commit 84b8d65
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .ado/templates/apple-steps-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,12 @@ steps:
echo "##vso[task.setvariable variable=RNM_PACKAGE_VERSION]$(node .ado/get-next-semver-version.js)"
echo "Next package version: $RNM_PACKAGE_VERSION"
# Note, This won't do the actual `git tag` and `git push` as we're doing a dry run.
# We do that as a separate step in `.ado/publish.yml`.
- task: CmdLine@2
displayName: Prepare React Native macOS release
inputs:
script: |
set -eox pipefail
node scripts/releases/set-version.js -v $RNM_PACKAGE_VERSION --build-type "release"
node scripts/releases/set-version.js $RNM_PACKAGE_VERSION
# Note: This won't actually publish to NPM as we've commented that bit out.
# We do that as a separate step in `.ado/publish.yml`.
Expand Down

0 comments on commit 84b8d65

Please sign in to comment.