Skip to content

Commit

Permalink
fix: version number into project.properties
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-burger committed Nov 30, 2024
1 parent 0bc3fa1 commit a497d60
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ export DH_VERBOSE = 1
# package maintainers to append LDFLAGS
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

export GIT_VERSION = $(shell git describe --long --dirty --tags | awk -F- '{ print $$1 }')

override_dh_autoreconf:
sed 's/VERSION.*/VERSION = ${GIT_VERSION}/' -i project.properties
dh_autoreconf

%:
dh $@

%:
dh $@
Expand Down

0 comments on commit a497d60

Please sign in to comment.