mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
Travis: add support for tag package naming
This commit is contained in:
parent
7bb8e56072
commit
ef2bbff4e5
@ -3,7 +3,13 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
export GIT_HASH=$(git rev-parse --short HEAD)
|
export GIT_HASH=$(git rev-parse --short HEAD)
|
||||||
export FILENAME="obs-websocket-$GIT_HASH-$TRAVIS_BRANCH-osx.pkg"
|
|
||||||
|
export VERSION="$GIT_HASH-$TRAVIS_BRANCH"
|
||||||
|
if [ -n "${TRAVIS_TAG}" ]; then
|
||||||
|
export VERSION="$TRAVIS_TAG"
|
||||||
|
fi
|
||||||
|
|
||||||
|
export FILENAME="obs-websocket-$VERSION-osx.pkg"
|
||||||
|
|
||||||
mkdir release
|
mkdir release
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user