mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
CI: Try to fix tag recognition (again)
This commit is contained in:
parent
f37edbd71c
commit
ac78acd28c
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@ -61,7 +61,7 @@ jobs:
|
|||||||
git fetch --prune --unshallow
|
git fetch --prune --unshallow
|
||||||
GIT_HASH=$(git rev-parse --short HEAD)
|
GIT_HASH=$(git rev-parse --short HEAD)
|
||||||
echo "GIT_HASH=$GIT_HASH" >> $GITHUB_ENV
|
echo "GIT_HASH=$GIT_HASH" >> $GITHUB_ENV
|
||||||
GIT_TAG=$(git describe --tags --abbrev=0)
|
GIT_TAG=$(git describe --exact-match --tags --abbrev=0) || GIT_TAG=""
|
||||||
echo "GIT_TAG=$GIT_TAG" >> $GITHUB_ENV
|
echo "GIT_TAG=$GIT_TAG" >> $GITHUB_ENV
|
||||||
if [ "$GIT_TAG" ] ; then \
|
if [ "$GIT_TAG" ] ; then \
|
||||||
VERSION="$GIT_TAG" ; \
|
VERSION="$GIT_TAG" ; \
|
||||||
@ -224,7 +224,7 @@ jobs:
|
|||||||
git fetch --prune --unshallow
|
git fetch --prune --unshallow
|
||||||
GIT_HASH=$(git rev-parse --short HEAD)
|
GIT_HASH=$(git rev-parse --short HEAD)
|
||||||
echo "GIT_HASH=$GIT_HASH" >> $GITHUB_ENV
|
echo "GIT_HASH=$GIT_HASH" >> $GITHUB_ENV
|
||||||
GIT_TAG=$(git describe --tags --abbrev=0)
|
GIT_TAG=$(git describe --exact-match --tags --abbrev=0) || GIT_TAG=""
|
||||||
echo "GIT_TAG=$GIT_TAG" >> $GITHUB_ENV
|
echo "GIT_TAG=$GIT_TAG" >> $GITHUB_ENV
|
||||||
if [ "$GIT_TAG" ] ; then \
|
if [ "$GIT_TAG" ] ; then \
|
||||||
VERSION="$GIT_TAG" ; \
|
VERSION="$GIT_TAG" ; \
|
||||||
|
Loading…
Reference in New Issue
Block a user