Skip to content

Commit

Permalink
Fix CI release names for tags
Browse files Browse the repository at this point in the history
  • Loading branch information
thorpelawrence committed May 31, 2017
1 parent 25b65cb commit c386646
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ build_script:
- windeployqt .\release\SortPixels_Qt.exe

after_build:
- 7z a SortPixels-continuous-%BUILD%.zip release
- appveyor PushArtifact SortPixels-continuous-%BUILD%.zip
- 7z a SortPixels-%APPVEYOR_REPO_TAG_NAME%-%BUILD%.zip .\release\*
- appveyor PushArtifact SortPixels-%APPVEYOR_REPO_TAG_NAME%-%BUILD%.zip

deploy:
force_update: true
Expand All @@ -31,6 +31,6 @@ deploy:
provider: GitHub
auth_token:
secure: XHnnMTnDQkbvkyDieJI/yTD3BiPUsTLyI2SolnlWmjO/5EguoGSe9YgtHs1VCvQh
artifact: SortPixels-continuous-%BUILD%.zip
artifact: SortPixels-%APPVEYOR_REPO_TAG_NAME%-%BUILD%.zip
on:
appveyor_repo_tag: true
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,15 @@ after_success:
- ./linuxdeployqt*.AppImage ./appdir/usr/share/applications/*.desktop -bundle-non-qt-libs
- ./linuxdeployqt*.AppImage ./appdir/usr/share/applications/*.desktop -appimage
- find ./appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq
- mv ./SortPixels_Qt*.AppImage ./SortPixels-continuous-gcc-64.AppImage
- mv ./SortPixels_Qt*.AppImage ./SortPixels-${TRAVIS_TAG}-gcc-64.AppImage
- curl --upload-file ./SortPixels-${TRAVIS_TAG}-gcc-64.AppImage https://transfer.sh/SortPixels-${TRAVIS_TAG}-gcc-64.AppImage

deploy:
provider: releases
overwrite: true
api_key:
secure: "pP4sjXBH+r0dW3klNsfHoDv7nWjHpwNR25vdcjo0eCfhgx3l9HGmlTx7Cx4WS7G5/6ijVwuvyjr23a8XGgH9cnodkPyb8hD7UPoqqCmBGy63hPNC4A3hCHbH5aLCtQT1HWpdOFyBGrySyB1Jt89XQa2o6ib3KC9kmDwx74p0REfuR1+6tCAOyI+h4Ls1KbALxKFyry6h9EyPrx06KafHXKMhOokdbdey4PIAqGEu9AuTNnAlpsa3zUwPBe4rcPRa9DrJEYqDWCf6ejYMjl/Hw2uPIlLqXYpUAbW7zDCHSjrbqGG9pSRGQ9aplPQLILrJSAz5NV7K0MFS29rVdDY9C9q+YH91V7fmOWqSpZ4P3PLVU3m8wpIU/skkAoC7xb86eqE3KYw+ZUWiGOqSrCKvUw8tPrgPBII0fhLnoJgS03LL2qrUHL1q4i3yOu6GHKo00qWlU8R6fggxqxn9dSjKP4wjZfiqGyYiZgua2smnworIfCfk+sCufQBhxkpbtXKtNG6EXXBIG5AYNMfbVVkUM3bpY03nIfs2ATr+1968SD6cQbRQeNFuOoRnpEuO7rxzR9joM8VvUnX2qJ+iTwCcG31QVWZd8865VcbrmvEwRTvWTrN9/kf+KaANQGMBG//PgiMbulpK2OdOS7Sc7rSBjjWS0lZ0I/wtFKU8HZ8uTYs="
file: ./SortPixels-continuous-gcc-64.AppImage
file: ./SortPixels-${TRAVIS_TAG}-gcc-64.AppImage
skip_cleanup: true
on:
tags: true

0 comments on commit c386646

Please sign in to comment.