File tree 1 file changed +4
-1
lines changed
eng/pipelines/templates/stages 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ stages:
56
56
57
57
- template : /eng/common/pipelines/templates/steps/create-tags-and-git-release.yml
58
58
parameters :
59
- ArtifactLocation : $(Pipeline.Workspace)/${{parameters.PipelineArtifactName}}/${{artifact.name}}
59
+ ArtifactLocation : $(Pipeline.Workspace)/${{parameters.PipelineArtifactName}}/Packages/ ${{artifact.name}}
60
60
PackageRepository : Crates.io
61
61
ReleaseSha : $(Build.SourceVersion)
62
62
WorkingDirectory : $(Pipeline.Workspace)/_work
@@ -95,6 +95,9 @@ stages:
95
95
96
96
Write-Host "Dry-run verifying '$crateName'"
97
97
98
+ # remove Cargo.toml.orig before calling dry-run as it causes a reserved file name error
99
+ Remove-Item -Path "$(Pipeline.Workspace)/drop/Packages/$crateName/Cargo.toml.orig" -Force -ErrorAction Ignore
100
+
98
101
$command = "cargo publish --manifest-path '$(Pipeline.Workspace)/drop/Packages/$crateName/Cargo.toml' --dry-run"
99
102
Write-Host "> $command"
100
103
Invoke-Expression $command
You can’t perform that action at this time.
0 commit comments