diff options
Diffstat (limited to 'jenkinstool')
-rwxr-xr-x | jenkinstool | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/jenkinstool b/jenkinstool index 237262f..da73f0f 100755 --- a/jenkinstool +++ b/jenkinstool @@ -95,7 +95,7 @@ then version="$(upstream_version)" version="$version.vcs$(commit_date)" - debianversion="${version}-1" + debianversion="${version}-1.%(host.debian-dist)s" debianurl="%(global.artifacts-url)s/debian" tarball="${project}-${version}.tar.gz" @@ -114,8 +114,8 @@ then changes="${sourcepkg}_${debianversion}_source.changes" dsc="${sourcepkg}_$debianversion.dsc" dsc_url="$poolurl/$dsc" - archany_changes="${sourcepkg}_${version}-1_%(host.arch)s.changes" - archall_changes="${sourcepkg}_${version}-1_all.changes" + archany_changes="${sourcepkg}_${debianversion}_%(host.arch)s.changes" + archall_changes="${sourcepkg}_${debianversion}_all.changes" fi cd "$workdir" @@ -567,7 +567,7 @@ fi sudo pbuilder --update sudo pbuilder --build --buildresult result $untrusted \ --debbuildopts $binopt *.dsc -dput jenkins "result/${sourcepkg}_${version}-1_%(host.arch)s.changes" +dput jenkins "result/$archany_changes" cd "$curdir" rm -rf "$temp" ''') |