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

Fix CI variable

parent b3abdad6
Branches
Tags
1 merge request!7Fix CI variable
Pipeline #759 passed
...@@ -119,8 +119,8 @@ svn cp "trunk" "tags/$PLUGIN_VERSION" ...@@ -119,8 +119,8 @@ svn cp "trunk" "tags/$PLUGIN_VERSION"
svn status svn status
# Stop here unless this is a merge into master. # 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 if [[ -z "$CI_COMMIT_REF_NAME" || "$CI_COMMIT_REF_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 echo "𝘅︎ EXITING before commit step as this is the '${CI_COMMIT_REF_NAME}' branch, not the 'master' branch." 1>&2
exit 0 exit 0
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment