Skip to content

Commit 1340454

Browse files
authored
ci: use ADO variable syntax for publish tag (#2595)
1 parent c4b7586 commit 1340454

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.ado/jobs/npm-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ jobs:
6868
# https://github.com/microsoft/react-native-macos/issues/2580
6969
# `nx release publish` gets confused by the output of RNM's prepack script.
7070
# Let's call `yarn npm publish` directly instead on the packages we want to publish.
71-
# yarn nx release publish --tag ${{ parameters['publishTag'] }} --excludeTaskDependencies
72-
yarn ./packages/virtualized-lists npm publish --tag ${{ parameters['publishTag'] }}
73-
yarn ./packages/react-native npm publish --tag ${{ parameters['publishTag'] }}
71+
# yarn nx release publish --tag $(publishTag) --excludeTaskDependencies
72+
yarn ./packages/virtualized-lists npm publish --tag $(publishTag)
73+
yarn ./packages/react-native npm publish --tag $(publishTag)
7474
fi
7575
displayName: Publish packages
7676
condition: and(succeeded(), eq(variables['publish_react_native_macos'], '1'))

0 commit comments

Comments
 (0)