We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c5bc975 + afbd693 commit 23dbb13Copy full SHA for 23dbb13
.azure-pipelines/release.yml
@@ -65,8 +65,14 @@ extends:
65
filePath: './scripts/copy-readme.ps1'
66
67
68
- # Pack Typescript sdk packages
69
- - script: npm pack --pack-destination=$(Build.ArtifactStagingDirectory) --workspaces --workspace-exclude=@microsoft/msgraph-sdk-tests
+ # Pack Typescript sdk packages (excludes private packages like tests)
+ - script: |
70
+ for dir in packages/*/; do
71
+ pkg_name=$(basename "$dir")
72
+ if [ "$pkg_name" != "msgraph-sdk-tests" ]; then
73
+ npm pack --pack-destination=$(Build.ArtifactStagingDirectory) -w "$dir"
74
+ fi
75
+ done
76
displayName: 'Generate npm packages of the Typescript msgraph sdk'
77
workingDirectory: '$(Build.SourcesDirectory)'
78
0 commit comments