mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
Compare commits
1 Commits
4.x-compat
...
4.9.0
Author | SHA1 | Date | |
---|---|---|---|
2f252f67ba |
@ -5,8 +5,9 @@ set -e
|
||||
export GIT_HASH=$(git rev-parse --short HEAD)
|
||||
export PKG_VERSION="1-$GIT_HASH-$BRANCH_SHORT_NAME-git"
|
||||
|
||||
if [[ "$BRANCH_FULL_NAME" =~ "^refs/tags/" ]]; then
|
||||
if [[ $BRANCH_FULL_NAME =~ ^refs/tags/ ]]; then
|
||||
export PKG_VERSION="$BRANCH_SHORT_NAME"
|
||||
echo "[obs-websocket] Branch is a tag. Setting version to `$PKG_VERSION`."
|
||||
fi
|
||||
|
||||
cd ./build
|
||||
|
Reference in New Issue
Block a user