Fix DEB_UPSTREAM_VERSION to DEB_VERSION_UPSTREAM

This commit is contained in:
jordi fita mas 2024-01-19 23:19:29 +01:00
parent 4d2af368d2
commit b28f29eb24
1 changed files with 1 additions and 1 deletions

2
debian/rules vendored
View File

@ -6,7 +6,7 @@ include /usr/share/dpkg/pkg-info.mk
dh $@ --builddirectory=_build --buildsystem=golang --with=golang
execute_before_dh_auto_build:
printf 'package pkg; const Version = "%s"' "$(DEB_UPSTREAM_VERSION)" > pkg/build.go
printf 'package pkg\n\nconst Version = "%s"\n' "$(DEB_VERSION_UPSTREAM)" > pkg/build.go
make
execute_after_dh_auto_test: