This is an automated email from the ASF dual-hosted git repository.
spacewander pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-go-plugin-runner.git
The following commit(s) were added to refs/heads/master by this push:
new 6bb1c4b fix: addressed blank space of GITSHA populated (#57) (#58)
6bb1c4b is described below
commit 6bb1c4bd98ec374638af7ed02931e0efb2604044
Author: poslua <[email protected]>
AuthorDate: Fri Jan 7 14:26:04 2022 +0800
fix: addressed blank space of GITSHA populated (#57) (#58)
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 0673342..321ac00 100644
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,7 @@ default: help
VERSION ?= latest
RELEASE_SRC = apisix-go-plugin-runner-${VERSION}-src
-GITSHA ?= $(shell git rev-parse --short=7 HEAD 2> /dev/null | echo '')
+GITSHA ?= $(shell git rev-parse --short=7 HEAD 2> /dev/null || echo '')
OSNAME ?= $(shell uname -s | tr A-Z a-z)
OSARCH ?= $(shell uname -m | tr A-Z a-z)
PWD ?= $(shell pwd)