Skip to content

Commit 89889d7

Browse files
authored
adjust svn logic (#296)
1 parent 9dccee8 commit 89889d7

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.circleci/deploy.sh

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,11 @@ echo "Preparing for version $RELEASE_TAG release..."
3636
# Checkout just trunk and assets for efficiency.
3737
# Tagging will be handled on the SVN level.
3838
echo "Checking out svn repository..."
39-
svn checkout --depth immediates "$SVN_URL" "$SVN_DIR"
39+
svn co "$SVN_URL" --depth=empty "$SVN_DIR"
4040
cd "$SVN_DIR"
41-
svn update --set-depth infinity assets
42-
svn update --set-depth infinity trunk
41+
svn up assets
42+
svn up trunk
43+
svn up tags --depth=empty
4344
find ./trunk -not -path "./trunk" -delete
4445

4546
echo "Copying files..."
@@ -61,9 +62,9 @@ ls -lah trunk
6162
echo "Adding files..."
6263
svn add . --force
6364

64-
echo "svn remove deleted files..."
65+
# echo "svn remove deleted files..."
6566
# SVN delete all deleted files and suppress stdout.
66-
svn status | grep '^\!' | sed 's/! *//' | xargs -I% svn rm %@
67+
# svn status | grep '^\!' | sed 's/! *//' | xargs -I% svn rm %@
6768

6869
# Copy trunk into the current tag directory.
6970
echo "Copying tag..."

0 commit comments

Comments
 (0)