diff options
-rw-r--r-- | scripts/auto-build/auto-build-common | 8 | ||||
-rwxr-xr-x | scripts/auto-build/pd-extended-auto-builder.sh | 4 |
2 files changed, 11 insertions, 1 deletions
diff --git a/scripts/auto-build/auto-build-common b/scripts/auto-build/auto-build-common index d74fd411..74ee0cea 100644 --- a/scripts/auto-build/auto-build-common +++ b/scripts/auto-build/auto-build-common @@ -176,3 +176,11 @@ make_source_tarball() tar --directory $rootdir --exclude-vcs \ -cjpf /tmp/$debian_tarballname debian } + +set_debian_changelog_version() +{ + version=$1 + rootdir=$2 + sed -i "s|^pd-extended (.*)|pd-extended ($version-1)|" \ + $rootdir/debian/changelog +} diff --git a/scripts/auto-build/pd-extended-auto-builder.sh b/scripts/auto-build/pd-extended-auto-builder.sh index 288d6550..cf83a726 100755 --- a/scripts/auto-build/pd-extended-auto-builder.sh +++ b/scripts/auto-build/pd-extended-auto-builder.sh @@ -74,8 +74,10 @@ print_ip_address if [ "$1" = "source-tarball-only" ]; then echo "--- making source tarball ------------------------------" - version=$(get_pd_version $auto_build_root_dir) + version=`get_pd_version "$auto_build_root_dir"` tarballname=Pd-extended_$version-source.tar.bz2 + set_debian_changelog_version $version "${auto_build_root_dir}" + exit make_source_tarball "${auto_build_root_dir}" $tarballname echo "The source tarball is here:" echo " /tmp/$tarballname" |