Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
all: gotest atomfs

MAIN_VERSION ?= $(shell git describe --always --dirty || echo no-git)
MAIN_VERSION ?= $(shell git describe --always --tags --dirty || echo no-git)
ifeq ($(MAIN_VERSION),$(filter $(MAIN_VERSION), "", no-git))
$(error "Bad value for MAIN_VERSION: '$(MAIN_VERSION)'")
endif
Expand Down Expand Up @@ -85,3 +85,6 @@ toolsclean:
clean: toolsclean
rm -rf $(ROOT)/bin
rm -f .made-*

debug:
@echo MAIN_VERSION=$(MAIN_VERSION)