Skip to content

Commit f2ffa79

Browse files
committed
remove any dirs for current version of guides before copying out of release
1 parent ad16b58 commit f2ffa79

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/create-new-minor-version

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ NEXT_VERSION=$MAJOR_VERSION.$(($MINOR_VERSION+1)).$PATCH_VERSION
4848

4949
# Copy the current release guides into the appropriate version-numbered folder.
5050
# `-r` is for recursive, so all directory content is copied.
51+
echo "🤖 Removing any directories for $CURRENT_VERSION"
52+
rm -rf guides/$CURRENT_VERSION
5153
echo "🤖 Copying release to $CURRENT_VERSION"
5254
cp -r guides/release guides/$CURRENT_VERSION
5355
echo " DONE"

0 commit comments

Comments
 (0)