Add cargo clean to win release (#276)

* Add cargo clean to windows release

* Cargo clean
This commit is contained in:
Quentin Le Sceller 2019-12-10 10:44:04 +01:00 committed by Yeastplume
parent aa88bc2c16
commit ac93ab8593

View file

@ -2,6 +2,9 @@ steps:
- script: 'cargo test --all'
displayName: Cargo Test All
condition: and(succeeded(), contains(variables['Build.SourceBranch'], 'refs/tags/'), eq(variables['CI_JOB'], 'release' ))
- script: 'cargo clean'
displayName: Cargo Clean
condition: and(succeeded(), contains(variables['Build.SourceBranch'], 'refs/tags/'), eq(variables['CI_JOB'], 'release' ))
- script: 'cargo build --release'
displayName: Build Release
condition: and(succeeded(), contains(variables['Build.SourceBranch'], 'refs/tags/'), eq(variables['CI_JOB'], 'release' ))