Set version automatically in maven-repo-helper
Hi,
I use jh_maven_repo_helper to install .jar and pom.xml files[1]. I hoped that
maven-repo-helper would set the version automatically according to the debian
package version, but it apparently doesn't.
Is is possible and recommended to handle this with:
UPSTREAM-VERSION := $(shell dpkg-parsechangelog | sed -rne 's,^Version:
([^-+]+).*,\1,p')
override_mh_install:
--set-version=$(UPSTREAM-VERSION)
[1] http://anonscm.debian.org/gitweb/?p=pkg-
scala/packages/scala.git;a=tree;h=refs/heads/thkoch_pls_review
Regards,
Thomas Koch, http://www.koch.ro
Reply to: