Skip to content

Commit 976a460

Browse files
committed
fix release file in travis
1 parent 991bd3c commit 976a460

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.travis.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,15 @@ before_install:
4141
- sudo cp /usr/local/cuda/targets/x86_64-linux/lib/stubs/libcuda.so /usr/lib/
4242
script:
4343
- "./build.sh"
44-
- find release -type f -name *so -exec mv '{}' '{}'${CUDA_SHORT} \;
44+
- find release -type f -name *so -exec mv '{}' '{}'.${CUDA_SHORT} \;
4545
- ls -l release/
4646

47-
before_deploy:
48-
- export RELEASE_FILE=$(ls release/*.so)
49-
- echo "deploying $RELEASE_FILE to GitHub releases"
5047
deploy:
5148
provider: releases
5249
api_key: $GITHUB_ACCESS_TOKEN
50+
skip_cleanup: true
5351
file_glob: true
54-
file: "${RELEASE_FILE}"
52+
file: release/*
5553
on:
5654
repo: yzs981130/cuda-wrapper
5755
tags: true

0 commit comments

Comments
 (0)