From f8fe27aacd167a4cfac07443319e1b1909567dd1 Mon Sep 17 00:00:00 2001 From: Ben Moore Date: Thu, 9 Apr 2020 13:17:49 -0500 Subject: [PATCH] ci: swap order for tag deploy --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0bc4a6d..1fdd3c3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -32,6 +32,7 @@ commands: - run: echo "export SLUG=$(grep '@package' /tmp/src/plugin.php | awk -F ' ' '{print $3}' | sed 's/^\s//')" >> ${BASH_ENV} - run: svn co https://plugins.svn.wordpress.org/${SLUG} --depth=empty . - run: svn up trunk + - run: svn up tags --depth=empty - run: find ./trunk -not -path "./trunk" -delete - run: cp -r /tmp/src/. ./trunk - run: svn propset svn:ignore -F ./trunk/.svnignore ./trunk @@ -47,7 +48,6 @@ commands: description: "Create a SVN tag" steps: - set_verision_variable - - run: svn up tags --depth=empty - run: svn cp trunk tags/${VERSION} svn_commit: