Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
WP Plugins
View All Posts Pages
Commits
b909bc39
Commit
b909bc39
authored
Apr 13, 2019
by
Erick Hitter
Browse files
tar doesn't create the directory
parent
e20d25c5
Pipeline
#753
failed with stages
in 2 minutes and 52 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bin/deploy.sh
View file @
b909bc39
...
...
@@ -62,8 +62,8 @@ echo "ℹ︎ PLUGIN_SLUG is $PLUGIN_SLUG"
echo
"ℹ︎ PLUGIN_VERSION is
$PLUGIN_VERSION
"
SVN_URL
=
"https://plugins.svn.wordpress.org/
${
PLUGIN_SLUG
}
/"
SVN_DIR
=
"
/tmp
/svn-
${
PLUGIN_SLUG
}
"
TMP_DIR
=
"
/tmp
/git-archive"
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
...
...
@@ -93,6 +93,7 @@ if [[ ! -e "$CI_PROJECT_DIR/.gitattributes" ]]; then
fi
# This will exclude everything in the .gitattributes file with the export-ignore flag
mkdir
"
$TMP_DIR
"
git archive HEAD |
tar
x
--directory
=
"
$TMP_DIR
"
cd
"
$SVN_DIR
"
...
...
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