From dc55d5be8f70c7c027765b86948cb8b0d3ea8806 Mon Sep 17 00:00:00 2001 From: zarroboogs <36057965+zarroboogs@users.noreply.github.com> Date: Fri, 23 Feb 2018 21:49:45 +0200 Subject: [PATCH] linux appimage versioning changes synced with windows artifact version --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 6cdd422338..1e63bef7be 100644 --- a/.travis.yml +++ b/.travis.yml @@ -81,7 +81,9 @@ before_script: export PATH=${TRAVIS_BUILD_DIR}/build/squashfs-root/usr/bin/:${PATH} ; ./squashfs-root/usr/bin/appimagetool ${TRAVIS_BUILD_DIR}/build/appdir ; find ./appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq ; - curl ${UPLOAD_URL}${TRAVIS_COMMIT:0:7}-${TRAVIS_BUILD_NUMBER}_linux64 --upload-file ./RPCS3*.AppImage; + COMM_TAG="$(git describe --tags $(git rev-list --tags --max-count=1))" + COMM_COUNT="$(git rev-list --count HEAD)" + curl "${UPLOAD_URL}${TRAVIS_COMMIT:0:8}&t=${COMM_TAG}&a=${COMM_COUNT}" --upload-file ./RPCS3*.AppImage; fi; script: