Skip to content

Commit 59f2465

Browse files
committed
release: reassign FBSHA1=1 so value can be available to makefile
- when getting the sha-1 value from git, reassign FBSHA1 so value is available to the makefile
1 parent cf9e641 commit 59f2465

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -447,10 +447,9 @@ ifdef ENABLE_STANDALONE
447447
endif
448448
ifdef FBSHA1
449449
ifeq ($(FBSHA1),1)
450-
ALLFBCFLAGS += -d 'FBSHA1="$(shell git rev-parse HEAD)"'
451-
else
452-
ALLFBCFLAGS += -d 'FBSHA1="$(FBSHA1)"'
450+
FBSHA1="$(shell git rev-parse HEAD)"
453451
endif
452+
ALLFBCFLAGS += -d 'FBSHA1="$(FBSHA1)"'
454453
endif
455454
ifdef ENABLE_SUFFIX
456455
ALLFBCFLAGS += -d 'ENABLE_SUFFIX="$(ENABLE_SUFFIX)"'

0 commit comments

Comments
 (0)