Skip to content

Commit 558b036

Browse files
authored
fix git describe error (#504)
1 parent 3fd8d8a commit 558b036

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Scripts/run_release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ set -e
88
# COCOAPODS_TRUNK_TOKEN - should be defined in job settings so that we can `pod trunk push`
99

1010
function release_github {
11-
LAST_RELEASE=$(git describe --abbrev=0 --tags)
11+
LAST_RELEASE=$(git describe --abbrev=0 --tags --always)
1212
if [[ ${LAST_RELEASE} == "v${VERSION}" ]]; then
1313
echo "${LAST_RELEASE} tag exists already (probably created while in the current release process). Skipping..."
1414
return

0 commit comments

Comments
 (0)