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

npm additional tag whitespace check #29463

Merged
merged 16 commits into from May 1, 2024
Merged

npm additional tag whitespace check #29463

merged 16 commits into from May 1, 2024

Conversation

ckairen
Copy link
Member

@ckairen ckairen commented Apr 26, 2024

bug fix: npm publishing with additional tag runs even with no additional tags being specified

@ckairen ckairen added the Central-EngSys This issue is owned by the Engineering System team. label Apr 26, 2024
@ckairen ckairen self-assigned this Apr 26, 2024
@ckairen ckairen marked this pull request as ready for review May 1, 2024 06:18
arguments: -addTag $true -pathToArtifacts ${{parameters.PathToArtifacts}} -accessLevel "public" -tag "${{parameters.AdditionalTag}}" -registry ${{parameters.Registry}} -npmToken $(azure-sdk-npm-token)
pwsh: true
condition: succeeded()
- ${{ if ne(variables['additionalTag'], '') }}:
Copy link
Member Author

@ckairen ckairen May 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this has to be variable because parameters are set at init time, will evaluate to $(AdditionalTags) -> the literal code, which "$(AdditionalTags)" != "" despite $AdditionalTags will render as "" dynamically

@ckairen ckairen merged commit 91d2ea8 into Azure:main May 1, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Central-EngSys This issue is owned by the Engineering System team.
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants