Skip to content

Commit

Permalink
Proper checkout of tag by version. Previous one was for branches..
Browse files Browse the repository at this point in the history
refs #3736
  • Loading branch information
halfdan committed Feb 5, 2013
1 parent 47b9122 commit a0e81a4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion misc/package/build.sh
Expand Up @@ -111,8 +111,11 @@ SUBSCRIBE_NEWSLETTER

echo "checkout repository for tag $VERSION"
rm -rf $DEST_PATH/piwik_last_version
git clone -b $VERSION -q -- $URL_REPO $DEST_PATH/piwik_last_version || die "Problem checking out the last version tag"
git clone -q -- $URL_REPO $DEST_PATH/piwik_last_version || die "Problem checking out the last version tag"
cd $DEST_PATH/piwik_last_version
git checkout tags/$VERSION -q

cd $DEST_PATH
echo "preparing release $VERSION"

mv piwik_last_version piwik
Expand Down

0 comments on commit a0e81a4

Please sign in to comment.