Skip to content

Commit

Permalink
Fix 4 for new cargo publish deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaspustina committed Sep 28, 2017
1 parent 9afe0c1 commit 030fde9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .ci/cargo_publish.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
#!/bin/sh

echo "Upgrading OpenSSL because 'cargo publish' runs outside of cross containers and trust dns needs at least openssl 1.0.2"
wget http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.0.0_1.0.2g-1ubuntu4.6_amd64.deb
wget http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl-dev_1.0.2g-1ubuntu4.6_amd64.deb

sudo dpkg -i libssl1.0.0_1.0.2g-1ubuntu4.6_amd64.deb
sudo dpkg -i libssl-dev_1.0.2g-1ubuntu4.6_amd64.deb

echo "Cleaning working directory"
git clean -f -x
echo "Publishing to crates.io"
Expand Down

0 comments on commit 030fde9

Please sign in to comment.