mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-10-30 09:30:47 +03:00
Add TAVIS_TAG for build artifacts
This commit is contained in:
parent
ebc2a64627
commit
b4b683b590
2 changed files with 4 additions and 2 deletions
|
@ -40,4 +40,6 @@ chmod +x nheko-x86_64.AppImage
|
|||
|
||||
if [ ! -z $TRAVIS_TAG ]; then
|
||||
mv nheko-x86_64.AppImage nheko-${TRAVIS_TAG}-x86_64.AppImage
|
||||
elif [ ! -z $TRAVIS_COMMIT ]; then
|
||||
mv nheko-x86_64.AppImage nheko-${TRAVIS_COMMIT}-x86_64.AppImage
|
||||
fi
|
||||
|
|
|
@ -36,11 +36,11 @@ cmake --build build
|
|||
if [ $TRAVIS_OS_NAME == osx ]; then
|
||||
make lint;
|
||||
|
||||
if [ $DEPLOYMENT == 1 ] && [ ! -z $TRAVIS_TAG ]; then
|
||||
if [[ $DEPLOYMENT == 1 && ( ! -z $TRAVIS_TAG || ! -z $TRAVIS_COMMIT ) ]] ; then
|
||||
make macos-deploy;
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ $TRAVIS_OS_NAME == linux ] && [ $DEPLOYMENT == 1 ] && [ ! -z $TRAVIS_TAG ]; then
|
||||
if [[ $TRAVIS_OS_NAME == linux && $DEPLOYMENT == 1 && ( ! -z $TRAVIS_TAG || ! -z $TRAVIS_COMMIT ) ]] ; then
|
||||
make linux-deploy;
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue