Skip to content

Commit

Permalink
fix: Strip leading 'v' when building Debian
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewferrier committed Aug 11, 2024
1 parent dd34e7b commit 33dc45a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FLAKE8 := $(shell which flake8)
PYLINT := $(shell which pylint3 || which pylint)

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

0 comments on commit 33dc45a

Please sign in to comment.