Skip to content

Commit

Permalink
fix package script
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Hoffman committed May 13, 2016
1 parent f424469 commit 1333c72
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@
# exit 1
#fi

if [ -z
VERSION=`grep '^version' Cargo.toml | cut -d '"' -f 2`
echo "Packaging version ${VERSION}..."
cargo clean
docker run --rm -v `pwd`:/source -ti schickling/rust cargo build --release
zip -j limpet_${VERSION}_linux_amd64.zip target/release/limpet

#curl -T limpet_${VERSION}_linux_amd64.zip -ubacoboy:${BINTRAY_API_KEY} -H "X-Bintray-Package:limpet" -H "X-Bintray-Version:${VERSION}" https://api.bintray.com/content/bacoboy/limpet/limpet

0 comments on commit 1333c72

Please sign in to comment.