Skip to content

Commit

Permalink
fix git describe for tagged release
Browse files Browse the repository at this point in the history
  • Loading branch information
af-airbus committed Oct 2, 2024
1 parent 141bcd6 commit 52910b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ ifneq ($(OS),Windows_NT)
$(error "windist only works on Windows.")
else
@echo "Making Windows binary release."
$(eval distdir := bincat-win-$(shell git describe --dirty))
$(eval distdir := bincat-win-$(shell git describe --tags --dirty))
mkdir -p $(distdir)/bin
cp "$(shell ldd ocaml/build/bincat|perl -nle 'print $$1 if /.*=> (.*libgmp.*) \(.*\)/')" "$(distdir)/bin"
cp ocaml/build/bincat "$(distdir)/bin/bincat.exe"
Expand All @@ -98,7 +98,7 @@ endif
lindist: STATIC=1
lindist: clean all
@echo "Making Linux binary release."
$(eval distdir := bincat-linux-$(shell git describe --dirty))
$(eval distdir := bincat-linux-$(shell git describe --tags --dirty))
mkdir -p "$(distdir)/bin"
cp ocaml/build/bincat "$(distdir)/bin/bincat"
cp ocaml/build/c2newspeak "$(distdir)/bin/c2newspeak"
Expand Down

0 comments on commit 52910b4

Please sign in to comment.