Skip to content

Commit

Permalink
fix(rules): Exclude excess version info from tagged dist packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Jan 9, 2021
1 parent 7222d35 commit c1beed7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rules/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ debug:
echo "isTagged = $(isTagged)"
echo "isVariable = $(isVariable)"
echo "CANONICAL = $(CANONICAL)"
echo "DISTDIR = $(DISTDIR)"
echo "----------------------------"
echo "SOURCES = $(SOURCES)"
echo "SOURCES_SFD = $(SOURCES_SFD)"
Expand Down Expand Up @@ -345,7 +346,7 @@ $(BUILDDIR)/last-commit: $$(forceiftagchange) | $(BUILDDIR)
git diff-index --quiet --cached HEAD -- $(SOURCES)
echo $(GitVersion) > $@

DISTDIR = $(PROJECT)-$(GitVersion)
DISTDIR ?= $(PROJECT)-$(if $(isTagged),$(FontVersion),$(GitVersion))

$(DISTDIR):
mkdir -p $@
Expand Down

0 comments on commit c1beed7

Please sign in to comment.