aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-09-27 18:37:41 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-09-27 18:37:41 +0000
commit3dd774abc28ec1bc41d2c81458620ff1fb7bedc5 (patch)
treeed45237654362e2d5b1af6d56052666f236d7bc8 /scripts
parentff11399aac108211f6af9f8b3765f67d21921798 (diff)
fix the version number is source tarball generation
svn path=/trunk/; revision=16310
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} && \