Skip to content
Snippets Groups Projects
Commit b4b683b5 authored by Joe Donofry's avatar Joe Donofry
Browse files

Add TAVIS_TAG for build artifacts

parent ebc2a646
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment