Skip to content

Commit

Permalink
Added login to cratesio
Browse files Browse the repository at this point in the history
  • Loading branch information
ohadravid committed Jun 3, 2019
1 parent c9fc87d commit d466834
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ steps:
- script: cargo test
displayName: Cargo test

- script: cargo publish
- script: |
cargo login $env:CRATES_IO_TOKEN
cargo publish
displayName: Cargo publish
condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/'))
env:
CRATES_IO_TOKEN: $(crates_io_token)

0 comments on commit d466834

Please sign in to comment.