diff options
author | Joseph Donofry <joedonofry@gmail.com> | 2019-08-04 18:47:21 -0400 |
---|---|---|
committer | Joseph Donofry <joedonofry@gmail.com> | 2019-08-04 18:47:21 -0400 |
commit | eb2f444c3707815ed094b74d6b13d945070315fc (patch) | |
tree | 2e0f20cdeed843777ae2fc89e625b4a44cf25a91 /.ci | |
parent | Push to S3 on all branches (diff) | |
download | nheko-eb2f444c3707815ed094b74d6b13d945070315fc.tar.xz |
Tweak S3 Upload settings
Diffstat (limited to '.ci')
-rwxr-xr-x | .ci/linux/deploy.sh | 5 | ||||
-rwxr-xr-x | .ci/macos/deploy.sh | 4 | ||||
-rwxr-xr-x | .ci/script.sh | 4 |
3 files changed, 9 insertions, 4 deletions
diff --git a/.ci/linux/deploy.sh b/.ci/linux/deploy.sh index 403fde14..61b2e408 100755 --- a/.ci/linux/deploy.sh +++ b/.ci/linux/deploy.sh @@ -49,7 +49,10 @@ done chmod +x nheko-*x86_64.AppImage -if [ ! -z "$VERSION" ]; then +mkdir artifacts +cp nheko-*x86_64.AppImage artifacts/ + +if [ -n "$VERSION" ]; then # commented out for now, as AppImage file appears to already contain the version. #mv nheko-*x86_64.AppImage nheko-${VERSION}-x86_64.AppImage echo "nheko-${VERSION}-x86_64.AppImage" diff --git a/.ci/macos/deploy.sh b/.ci/macos/deploy.sh index 45ed13bc..ee4acaed 100755 --- a/.ci/macos/deploy.sh +++ b/.ci/macos/deploy.sh @@ -25,6 +25,8 @@ PATH=/usr/local/opt/qt/bin/:${PATH} dmgbuild -s ./.ci/macos/settings.json "Nheko" nheko.dmg -if [ ! -z "$VERSION" ]; then +if [ -n "$VERSION" ]; then mv nheko.dmg "nheko-${VERSION}.dmg" + mkdir artifacts + cp "nheko-${VERSION}.dmg" artifacts/ fi diff --git a/.ci/script.sh b/.ci/script.sh index 1bde913c..ac6bfed6 100755 --- a/.ci/script.sh +++ b/.ci/script.sh @@ -41,11 +41,11 @@ cmake --build build if [ "$TRAVIS_OS_NAME" = "osx" ]; then make lint; - if [ "$DEPLOYMENT" = 1 ] && [ ! -z "$VERSION" ] ; then + if [ "$DEPLOYMENT" = 1 ] && [ -n "$VERSION" ] ; then make macos-deploy; fi fi -if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$DEPLOYMENT" = 1 ] && [ ! -z "$VERSION" ]; then +if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$DEPLOYMENT" = 1 ] && [ -n "$VERSION" ]; then make linux-deploy; fi |