aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/auto-build/pd-extended-source-tarball.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/auto-build/pd-extended-source-tarball.sh b/scripts/auto-build/pd-extended-source-tarball.sh
index b9738d15..89a83f84 100755
--- a/scripts/auto-build/pd-extended-source-tarball.sh
+++ b/scripts/auto-build/pd-extended-source-tarball.sh
@@ -12,10 +12,11 @@ cd "${SCRIPT_DIR}/../.."
auto_build_root_dir=`pwd`
echo "build root: $auto_build_root_dir"
-version=$(get_pd_version $auto_build_root_dir)
-
$SCRIPT_DIR/pd-extended-auto-builder.sh source-tarball-only
+# the version is set by the above script, so keep this after
+version=$(get_pd_version $auto_build_root_dir)
+
archive=$(ls -1 /tmp/Pd-extended*$version*-source.tar.bz2 | tail -1)
upload_filename=$(basename $archive)
rsync -a --chmod=a+r ${archive} rsync://blinky.at.or.at/upload/${DATE}/${upload_filename} && \