File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 57
57
pwsh : true
58
58
filePath : $(Build.SourcesDirectory)/eng/scripts/Pack-Crates.ps1
59
59
arguments : >
60
- -OutputPath '$(Build.ArtifactStagingDirectory)'
60
+ -OutputPath '$(Build.ArtifactStagingDirectory)/Packages '
61
61
-PackageInfoDirectory '$(Build.ArtifactStagingDirectory)/PackageInfo'
62
62
63
63
- template : /eng/common/pipelines/templates/steps/publish-1es-artifact.yml
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ stages:
95
95
96
96
Write-Host "Dry-run verifying '$crateName'"
97
97
98
- $command = "cargo publish --manifest-path '$(Pipeline.Workspace)/drop/$crateName/Cargo.toml' --dry-run"
98
+ $command = "cargo publish --manifest-path '$(Pipeline.Workspace)/drop/Packages/ $crateName/Cargo.toml' --dry-run"
99
99
Write-Host "> $command"
100
100
Invoke-Expression $command
101
101
@@ -106,7 +106,7 @@ stages:
106
106
107
107
Write-Host "Publishing package '$crateName'"
108
108
109
- $cargoBin = '$(Pipeline.Workspace)/drop/$crateName.bin'
109
+ $cargoBin = '$(Pipeline.Workspace)/drop/Packages/ $crateName.bin'
110
110
111
111
# https://doc.rust-lang.org/cargo/reference/registry-web-api.html#publish
112
112
Invoke-WebRequest -Method Put -Uri 'https://crates.io/api/v1/crates/new' `
You can’t perform that action at this time.
0 commit comments