#!/usr/bin/env bash

VERSION=$1

cd tags/
git clone --branch $VERSION --depth 1 https://git.saturdaydrive.io/_/sendwp/sendwp $VERSION

cd $VERSION
rm -rf .git/

cd ../..
cp -R tags/$VERSION/. trunk/
