Fix DEB_UPSTREAM_VERSION to DEB_VERSION_UPSTREAM
This commit is contained in:
parent
4d2af368d2
commit
b28f29eb24
|
@ -6,7 +6,7 @@ include /usr/share/dpkg/pkg-info.mk
|
||||||
dh $@ --builddirectory=_build --buildsystem=golang --with=golang
|
dh $@ --builddirectory=_build --buildsystem=golang --with=golang
|
||||||
|
|
||||||
execute_before_dh_auto_build:
|
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
|
make
|
||||||
|
|
||||||
execute_after_dh_auto_test:
|
execute_after_dh_auto_test:
|
||||||
|
|
Loading…
Reference in New Issue