Skip to content

ci: set the npm dist-tag in nx release publish #2484

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

Merged
merged 1 commit into from
Apr 23, 2025

Conversation

Saadnajmi
Copy link
Collaborator

@Saadnajmi Saadnajmi commented Apr 22, 2025

Summary:

We separate our CI to run nx release as two steps: nx release --skip-publish and nx release publish. The latter seems to not pick up the NPM dist-tag we want to set packages to release with, so it defaults to latest. This seems solvable by simply passing in --tag., since that gets picked up in this line of code.

Test Plan:

Locally ran nx release-publish with extra console.logs to make sure the tag was passed in.

@Saadnajmi Saadnajmi merged commit c5ab90f into microsoft:main Apr 23, 2025
12 checks passed
Saadnajmi added a commit that referenced this pull request Apr 23, 2025
@Saadnajmi Saadnajmi deleted the set-dist-tag branch April 23, 2025 17:50
Saadnajmi added a commit that referenced this pull request Apr 23, 2025
Saadnajmi added a commit that referenced this pull request Apr 23, 2025
@Saadnajmi Saadnajmi mentioned this pull request Apr 25, 2025
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants