Include pssh-box.py in release
Also updated API keys for both Travis and Appveyor as the previous ones have expired. And removed shared_library release to avoid confusions. Fixes #550. Change-Id: I81b1531a9abb9669be54a2e302346e194d7c363e
This commit is contained in:
parent
3898204155
commit
c972116972
18
.travis.yml
18
.travis.yml
|
@ -39,27 +39,21 @@ before_deploy:
|
||||||
- rm -rf deploy
|
- rm -rf deploy
|
||||||
- mkdir deploy
|
- mkdir deploy
|
||||||
- |
|
- |
|
||||||
if [ ${LIBPACKAGER_TYPE} == "shared_library" ]; then
|
mv out/${BUILD_TYPE}/packager deploy/packager-${TRAVIS_OS_NAME}
|
||||||
if [ ${TRAVIS_OS_NAME} == "linux" ]; then
|
mv out/${BUILD_TYPE}/mpd_generator deploy/mpd_generator-${TRAVIS_OS_NAME}
|
||||||
mv out/${BUILD_TYPE}/lib/libpackager.so deploy/libpackager-${TRAVIS_OS_NAME}.so
|
tar -zcf pssh-box.py.tar.gz -C out/${BUILD_TYPE} pyproto pssh-box.py
|
||||||
else
|
mv pssh-box.py.tar.gz deploy/pssh-box-${TRAVIS_OS_NAME}.py.tar.gz
|
||||||
mv out/${BUILD_TYPE}/libpackager.dylib deploy/libpackager-${TRAVIS_OS_NAME}.dylib
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
mv out/${BUILD_TYPE}/packager deploy/packager-${TRAVIS_OS_NAME}
|
|
||||||
mv out/${BUILD_TYPE}/mpd_generator deploy/mpd_generator-${TRAVIS_OS_NAME}
|
|
||||||
fi
|
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
provider: releases
|
provider: releases
|
||||||
api_key:
|
api_key:
|
||||||
secure: PbhquzRnY1BkGkM/6LmVSZjhUd8jWnj77QjxAKA8REnFhbAuzqwDYuytRmUsBFMtgatUEgTuh/1duZaIl0yXGvRZdNeGk7BgtguUy6vraWObjjNUSlQ6Njm4y/hMgaUIOhA9I2b8gokWU1PA0sDJOF/FoZaAxFpKXcW4d8Z2C0s=
|
secure: Ya5ptzB+UXESFhM8YKVRGwtfksPqCEe3XxHLLCwSDRscvs9Cck6M7Y4IGbEVfvfM8Wpb7Eyt2UoYgAsrugj9K6Y103NZ/Vv2ZJrdWYIi52QTye7GFtSEgImHdlM8LOjXbbh/KroWZFCi+ZxRcFDROaXaTM+P/xvYHeopLwEWs7g=
|
||||||
file_glob: true
|
file_glob: true
|
||||||
file: deploy/*
|
file: deploy/*
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
on:
|
on:
|
||||||
tags: true
|
tags: true
|
||||||
condition: ${BUILD_TYPE} = Release
|
condition: ${BUILD_TYPE} = Release && ${LIBPACKAGER_TYPE} == static_library
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
|
|
17
appveyor.yml
17
appveyor.yml
|
@ -41,14 +41,12 @@ test_script:
|
||||||
after_build:
|
after_build:
|
||||||
- if exist deploy rmdir /s /q deploy
|
- if exist deploy rmdir /s /q deploy
|
||||||
- mkdir deploy
|
- mkdir deploy
|
||||||
- if [%LIBPACKAGER_TYPE%] == ["shared_library"] (
|
- ps: >-
|
||||||
copy "out\%OUTPUT_DIRECTORY%\packager.dll" deploy\packager-win.dll
|
copy "out\$env:OUTPUT_DIRECTORY\packager.exe" deploy\packager-win.exe
|
||||||
) else (
|
copy "out\$env:OUTPUT_DIRECTORY\mpd_generator.exe" deploy\mpd_generator-win.exe
|
||||||
copy "out\%OUTPUT_DIRECTORY%\packager.exe" deploy\packager-win.exe
|
7z a pssh-box.py.zip "$env:APPVEYOR_BUILD_FOLDER\out\$env:OUTPUT_DIRECTORY\pyproto"
|
||||||
)
|
7z a pssh-box.py.zip "$env:APPVEYOR_BUILD_FOLDER\out\$env:OUTPUT_DIRECTORY\pssh-box.py"
|
||||||
- if NOT [%LIBPACKAGER_TYPE%] == ["shared_library"] (
|
copy pssh-box.py.zip deploy\pssh-box-win.py.zip
|
||||||
copy "out\%OUTPUT_DIRECTORY%\mpd_generator.exe" deploy\mpd_generator-win.exe
|
|
||||||
)
|
|
||||||
|
|
||||||
artifacts:
|
artifacts:
|
||||||
- path: 'deploy\*'
|
- path: 'deploy\*'
|
||||||
|
@ -56,11 +54,12 @@ artifacts:
|
||||||
deploy:
|
deploy:
|
||||||
provider: GitHub
|
provider: GitHub
|
||||||
auth_token:
|
auth_token:
|
||||||
secure: 0XTjRSDCHGH24WSnQRRizvhnaxK8gbq1cfivyuKQRrfwGPm7wpgiPL9SlyQ0aNdY
|
secure: tKyFNS3wiKnZ5+P71RPzsAzySnZLQWUWXKR3XAeco4bOTEXcTRwuQZSgggfSj19O
|
||||||
on:
|
on:
|
||||||
appveyor_repo_tag: true
|
appveyor_repo_tag: true
|
||||||
platform: x64
|
platform: x64
|
||||||
configuration: Release
|
configuration: Release
|
||||||
|
libpackager_type: static_library
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
|
|
Loading…
Reference in New Issue