Fix crate name

This commit is contained in:
Roey Darwish Dror
2018-06-05 16:07:27 +03:00
parent 164cbf7d10
commit 82f44cd173
2 changed files with 3 additions and 3 deletions

View File

@@ -11,7 +11,7 @@ Set-Location $STAGE
$ZIP = "$SRC_DIR\$($Env:CRATE_NAME)-$($Env:APPVEYOR_REPO_TAG_NAME)-$($Env:TARGET).zip"
# TODO Update this to package the right artifacts
Copy-Item "$SRC_DIR\target\$($Env:TARGET)\release\hello.exe" '.\'
Copy-Item "$SRC_DIR\target\$($Env:TARGET)\release\topgrade.exe" '.\'
7z a "$ZIP" *

View File

@@ -18,10 +18,10 @@ main() {
test -f Cargo.lock || cargo generate-lockfile
# TODO Update this to build the artifacts that matter to you
cross rustc --bin hello --target $TARGET --release -- -C lto
cross rustc --bin topgrade --target $TARGET --release -- -C lto
# TODO Update this to package the right artifacts
cp target/$TARGET/release/hello $stage/
cp target/$TARGET/release/topgrade $stage/
cd $stage
tar czf $src/$CRATE_NAME-$TRAVIS_TAG-$TARGET.tar.gz *