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:
+1
-1
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user