Skip to content
Snippets Groups Projects
Commit b83aaa05 authored by Erick Hitter's avatar Erick Hitter
Browse files

Support updates to existing tags, such as for WP-compat bumps

parent ff0b0804
No related branches found
No related tags found
1 merge request!6Support updates to existing tags
Pipeline #797 passed with stage
in 1 minute and 28 seconds
......@@ -43,12 +43,12 @@ SVN_URL="https://plugins.svn.wordpress.org/${PLUGIN_SLUG}/"
SVN_DIR="$CI_BUILDS_DIR/svn-${PLUGIN_SLUG}"
TMP_DIR="$CI_BUILDS_DIR/git-archive"
# Checkout just trunk for efficiency
# Tagging will be handled on the SVN level
echo "➤ Checking out .org repository..."
# Limit checkouts for efficiency
echo "➤ Checking out dotorg repository..."
svn checkout --depth immediates "$SVN_URL" "$SVN_DIR"
cd "$SVN_DIR"
svn update --set-depth infinity trunk
svn update --set-depth infinity "tags/${PLUGIN_VERSION}"
# Ensure we are in the $CI_PROJECT_DIR directory, just in case
echo "➤ Copying files..."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment