Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: fix usage of set-version script #2262

Merged
merged 1 commit into from
Oct 31, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading