Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Commit

Permalink
debug version for prerelease
Browse files Browse the repository at this point in the history
  • Loading branch information
Cenmrev committed Jan 5, 2019
1 parent f39404b commit 0a98f1e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .travis.yml
Expand Up @@ -8,16 +8,14 @@ after_success:
- isbeta=$(git describe --abbrev=0 --tags | grep beta)

before_deploy:
- cd build/Release/
- zip -r V2RayX.app.zip V2RayX.app
- cd ../..
- sh ./prepare_zip.sh

deploy:
- provider: releases
prerelease: true
api_key:
secure: HjwZ8C70qYeozvaEUvKqDX42T26pRYiQBrTvzbqy8Q+BDWJZ7vNZhSwgt+oYGBywgpk0bM/Ao3al6YDlTE86bMiRUEGSFjRWo2Oquo4N5ydp5cmzT6sVigrLiviufAMrCrCljh0OEt/hEN7wf7zJ8SZKFCLOi8AhTkJu8yEuFdx/2Zd/VSOs6AFp0s1uGrfd3UmwxWfGcKatpYb4GcCwZk2PrECc0qkAP9UzGjemU1cYzcICi+cXl/NoMeLRftHSZaGl+zg95bvddSlNvyqvPwH/00hnh6kpjdyKMDQ071eFE+9NIShglm5yS9TcR3+fE6WfWU9SjTOnT2IfggvXfogcJWd7k4/AwFoAkezNiV0IMKXl2163T17pfFxVQo56oy9HtMts3bw5TapL2YiJa1PKzluSc5ijNcGdDh/7GIejne9lyTeHNhnE/Acmlt8Mu9N+gSj04R4sqN/GfTGzmlPC4kXB08RLg5ycHksGyf4YOLYe9wOEBN4UaSqepFsWqrrufj16l4dqTdacLdt2dJtkPsqCCiUu+nfVVZP9uibIMqWjBi+Fp2Rz+RIvaqtoQrMy+b1y/YwcVz9cJ29OMwU5hY6MehN5pqknwMhsDk1vH5m93swpL6wfM6CT7NjambVfPGffX8zYp/1l/CbBelzjaxZ/CbV4GHXkYHJ923s=
file: build/Release/V2RayX.app.zip
file: build/Debug/V2RayX.app.zip
skip_cleanup: true
on:
repo: Cenmrev/V2RayX
Expand Down
10 changes: 10 additions & 0 deletions prepare_zip.sh
@@ -0,0 +1,10 @@
isbeta=$(git describe --abbrev=0 --tags | grep beta)
if [[ "$isbeta" != "" ]]
then
xcodebuild -project V2RayX.xcodeproj -target V2RayX -configuration Debug -s
cd build/Debug/
else
cd build/Release/
fi
zip -r V2RayX.app.zip V2RayX.app
cd ../..

0 comments on commit 0a98f1e

Please sign in to comment.