Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
W
WP.org Plugin Deploy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open-source
WP.org Plugin Deploy
Commits
b83aaa05
Commit
b83aaa05
authored
Apr 13, 2019
by
Erick Hitter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Support updates to existing tags, such as for WP-compat bumps
parent
ff0b0804
Pipeline
#797
passed with stage
in 1 minute and 28 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
scripts/deploy.sh
scripts/deploy.sh
+3
-3
No files found.
scripts/deploy.sh
View file @
b83aaa05
...
@@ -43,12 +43,12 @@ SVN_URL="https://plugins.svn.wordpress.org/${PLUGIN_SLUG}/"
...
@@ -43,12 +43,12 @@ SVN_URL="https://plugins.svn.wordpress.org/${PLUGIN_SLUG}/"
SVN_DIR
=
"
$CI_BUILDS_DIR
/svn-
${
PLUGIN_SLUG
}
"
SVN_DIR
=
"
$CI_BUILDS_DIR
/svn-
${
PLUGIN_SLUG
}
"
TMP_DIR
=
"
$CI_BUILDS_DIR
/git-archive"
TMP_DIR
=
"
$CI_BUILDS_DIR
/git-archive"
# Checkout just trunk for efficiency
# Limit checkouts for efficiency
# Tagging will be handled on the SVN level
echo
"➤ Checking out dotorg repository..."
echo
"➤ Checking out .org repository..."
svn checkout
--depth
immediates
"
$SVN_URL
"
"
$SVN_DIR
"
svn checkout
--depth
immediates
"
$SVN_URL
"
"
$SVN_DIR
"
cd
"
$SVN_DIR
"
cd
"
$SVN_DIR
"
svn update
--set-depth
infinity trunk
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
# Ensure we are in the $CI_PROJECT_DIR directory, just in case
echo
"➤ Copying files..."
echo
"➤ Copying files..."
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment