From de0e4f1f7e78ab88d5f49fd68bf3282026bd1c98 Mon Sep 17 00:00:00 2001 From: Zakhar Bessarab Date: Thu, 1 Dec 2022 19:09:36 +0400 Subject: [PATCH] make: make openssl output parsing symbol number agnostic (#3429) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5f61fdb73d..9f55ecc216 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ PKG_PREFIX := github.com/VictoriaMetrics/VictoriaMetrics DATEINFO_TAG ?= $(shell date -u +'%Y%m%d-%H%M%S') BUILDINFO_TAG ?= $(shell echo $$(git describe --long --all | tr '/' '-')$$( \ - git diff-index --quiet HEAD -- || echo '-dirty-'$$(git diff-index -u HEAD | openssl sha1 | cut -c 10-17))) + git diff-index --quiet HEAD -- || echo '-dirty-'$$(git diff-index -u HEAD | openssl sha1 | cut -d' ' -f2 | cut -c 1-8))) PKG_TAG ?= $(shell git tag -l --points-at HEAD) ifeq ($(PKG_TAG),)