Skip to content
This repository was archived by the owner on Aug 10, 2020. It is now read-only.

Commit fe7ac9a

Browse files
committed
Change make _get_version to get version from HEAD
1 parent 756cfac commit fe7ac9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ uninstall:
1919
-rm -f $(DESTDIR)/usr/lib/libreoffice/share/config/images_papirus_dark.zip
2020

2121
_get_version:
22-
$(eval DATE := $(shell git log -1 --format=%cd --date=format:%Y.%m.%d))
23-
$(eval COUNT := $(shell git rev-list --all --count))
22+
$(eval DATE := $(shell git show -s --format=%cd --date=format:%Y.%m.%d HEAD))
23+
$(eval COUNT := $(shell git rev-list --count HEAD))
2424
$(eval VERSION := $(DATE)-r$(COUNT))
2525
@echo $(VERSION)
2626

0 commit comments

Comments
 (0)