1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

core: hide error when git tag does not exist

This commit is contained in:
Sébastien Helleu
2023-04-15 16:59:48 +02:00
parent 412b9de263
commit 1eb8e21d4b
+1 -1
View File
@@ -41,7 +41,7 @@ release_start ()
release_error "working directory not clean"
fi
VERSION=$("${ROOT_DIR}/version.sh" devel)
if git rev-parse "v${VERSION}"; then
if git rev-parse "v${VERSION}" 2>/dev/null; then
release_error "tag v${VERSION} already exists"
fi
MSG=$(git log -1 --pretty=%B | tr -d "\n")