Skip to content

Commit 33dc45a

Browse files
committedAug 11, 2024
fix: Strip leading 'v' when building Debian
1 parent dd34e7b commit 33dc45a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ FLAKE8 := $(shell which flake8)
44
PYLINT := $(shell which pylint3 || which pylint)
55

66
determineversion:
7-
$(eval GITDESCRIBE_DEBIAN := $(shell git describe --tags --dirty))
7+
$(eval GITDESCRIBE_DEBIAN := $(shell git describe --tags --dirty | cut -c 2-))
88
sed 's/Version: .*/Version: $(GITDESCRIBE_DEBIAN)/' debian/DEBIAN/control_template > debian/DEBIAN/control
99
$(eval GITDESCRIBE_BREW := $(shell git describe --tags --abbrev=0))
1010
sed 's/X\.Y/$(GITDESCRIBE_BREW)/' brew/normfn_template.rb > brew/normfn.rb

0 commit comments

Comments
 (0)