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
f8db155c
Commit
f8db155c
authored
Apr 13, 2019
by
Erick Hitter
Browse files
Fix CI variable
parent
b3abdad6
Pipeline
#759
passed with stages
in 3 minutes and 10 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bin/deploy.sh
View file @
f8db155c
...
...
@@ -119,8 +119,8 @@ svn cp "trunk" "tags/$PLUGIN_VERSION"
svn status
# Stop here unless this is a merge into master.
if
[[
-z
"
$CI_
MERGE_REQUEST_TARGET_BRANCH_NAME
"
||
"
$CI_MERGE_REQUEST_TARGET_BRANCH
_NAME
"
!=
"master"
]]
;
then
echo
"𝘅︎ EXITING before commit step as this is the '
${
CI_
MERGE_REQUEST_TARGET_BRANCH
_NAME
}
' branch, not the 'master' branch."
1>&2
if
[[
-z
"
$CI_
COMMIT_REF_NAME
"
||
"
$CI_COMMIT_REF
_NAME
"
!=
"master"
]]
;
then
echo
"𝘅︎ EXITING before commit step as this is the '
${
CI_
COMMIT_REF
_NAME
}
' branch, not the 'master' branch."
1>&2
exit
0
fi
...
...
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