From a566479ddb926d12f2d9c0e4a95ba2db7fe1e562 Mon Sep 17 00:00:00 2001 From: MXPLRS | Kirill Date: Wed, 9 Nov 2016 01:07:10 +0300 Subject: [PATCH] fix branch detect --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7dcecb26..61220efd 100644 --- a/Makefile +++ b/Makefile @@ -94,7 +94,7 @@ strip: $(I2PD) $(SHLIB_CLIENT) $(SHLIB) strip $^ LATEST_TAG=$(shell git describe --tags --abbrev=0 openssl) -BRANCH=$(shell git branch --no-color | cut -c 3-) +BRANCH=$(shell git rev-parse --abbrev-ref HEAD) dist: git archive --format=tar.gz -9 --worktree-attributes \ --prefix=i2pd_$(LATEST_TAG)/ $(LATEST_TAG) -o i2pd_$(LATEST_TAG).tar.gz