Skip to content

Commit

Permalink
fix: fix check deploy version
Browse files Browse the repository at this point in the history
  • Loading branch information
lucamicheli committed Nov 17, 2022
1 parent 81269dc commit 4b87a21
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions .circleci/deploy-plugin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,6 @@ PLUGIN_SVN_PATH="/tmp/svn"
SVN_TAG=$(grep -oP '(?<=Stable tag: )([0-9]+\.[0-9]+(\.[0-9])*)' ./trunk/readme.txt)
echo "Get tag from readme.txt: $SVN_TAG"

# Check if the latest SVN tag exists already
#TAG=$(svn ls "https://plugins.svn.wordpress.org/email-marketing-and-crm-for-elementor-by-customerly/tags/$SVN_TAG")
#error=$?
#if [ $error == 0 ]; then
# # Tag exists, don't deploy
# echo "Latest tag ($SVN_TAG) already exists on the WordPress directory. No deployment needed!"
# exit 0
#fi

# Checkout the SVN repo
svn co -q "http://plugins.svn.wordpress.org/email-marketing-and-crm-for-elementor-by-customerly" $PLUGIN_SVN_PATH

Expand Down

0 comments on commit 4b87a21

Please sign in to comment.