Skip to content

Commit

Permalink
Update before_deploy script to work with windows
Browse files Browse the repository at this point in the history
  • Loading branch information
praveenperera committed Nov 23, 2019
1 parent 2532ad3 commit 48df6f1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ci/before_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ main() {
test -f Cargo.lock || cargo generate-lockfile

# TODO Update this to build the artifacts that matter to you
cross rustc --bin rustywind --target $TARGET --release -- -C lto
cross rustc --bin $CRATE_NAME --target $TARGET --release -- -C lto

# TODO Update this to package the right artifacts
cp target/$TARGET/release/rustywind $stage/
cp target/$TARGET/release/$CRATE_NAME $stage/ || cp target/$TARGET/release/$CRATE_NAME.exe $stage/


cd $stage
tar czf $src/$CRATE_NAME-$TRAVIS_TAG-$TARGET.tar.gz *
Expand Down

0 comments on commit 48df6f1

Please sign in to comment.