Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Becker <halfdan@xnorfz.de>2013-02-06 00:52:14 +0400
committerFabian Becker <halfdan@xnorfz.de>2013-02-06 00:52:14 +0400
commit47b91225796b9f667ef83d3e8774abd442312361 (patch)
treefa97daac9c3d2bae04369531ff235605010374c1 /misc/package
parent69e87c259ed2636de9458a8d10b6d2f04b9ac5e1 (diff)
svn export won't work anymore. Instead we do a git clone -b $VERSION
There is still a reference to trunk/ for nightly builds, not sure how that is supposed to work. refs Ã#3736
Diffstat (limited to 'misc/package')
-rwxr-xr-xmisc/package/build.sh9
1 files changed, 4 insertions, 5 deletions
diff --git a/misc/package/build.sh b/misc/package/build.sh
index d70072e45f..9099c23296 100755
--- a/misc/package/build.sh
+++ b/misc/package/build.sh
@@ -3,8 +3,7 @@
VERSION="$1"
DEST_PATH=/home/piwik/builds
-URL_REPO=http://piwik@dev.piwik.org/svn/trunk
-URL_TAGS=http://piwik@dev.piwik.org/svn/tags
+URL_REPO=https://github.com/piwik/piwik.git
HTTP_PATH=/home/piwik/www/builds.piwik.org
# report error and exit
@@ -64,7 +63,7 @@ case "$VERSION" in
rm -f latest.zip
cp -R trunk piwik
- find piwik -name '.svn' -type d -prune -exec rm -rf {} \;
+ find piwik -name '.git' -type d -prune -exec rm -rf {} \;
organizePackage
@@ -80,7 +79,7 @@ case "$VERSION" in
rm -f latest.zip
cp -R build piwik
- find piwik -name '.svn' -type d -prune -exec rm -rf {} \;
+ find piwik -name '.git' -type d -prune -exec rm -rf {} \;
organizePackage
@@ -112,7 +111,7 @@ SUBSCRIBE_NEWSLETTER
echo "checkout repository for tag $VERSION"
rm -rf $DEST_PATH/piwik_last_version
- svn export $URL_TAGS/$VERSION $DEST_PATH/piwik_last_version > /dev/null || die "Problem checking out the last version tag"
+ git clone -b $VERSION -q -- $URL_REPO $DEST_PATH/piwik_last_version || die "Problem checking out the last version tag"
echo "preparing release $VERSION"