We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2182f25 commit b21cc96Copy full SHA for b21cc96
scripts/deploy-wp-plugin.sh
@@ -57,6 +57,15 @@ elif [ "$PLUGINVERSION" = "$READMEVERSION" ]; then
57
echo "Versions match in readme.txt and $MAINFILE. Let's proceed..."
58
fi
59
60
+echo
61
+echo "Install svn if not installed yet ..."
62
+# Check if SVN is installed
63
+if ! command -v svn &> /dev/null
64
+then
65
+ echo "Subversion (svn) is not installed. Installing..."
66
+ sudo apt-get update && sudo apt-get install -y subversion
67
+fi
68
+
69
echo
70
echo "Creating local copy of SVN repo trunk ..."
71
svn checkout $SVNURL $RELEASEPATH --depth immediates
0 commit comments