Commit 58074195 authored by Kamil Trzcinski's avatar Kamil Trzcinski
Browse files

Use tag? instead of tag to indicate that this is boolean

parent 7b118d32fe1f
......@@ -261,7 +261,7 @@ def trigger_variables
def predefined_variables
variables = []
variables << { key: :CI_BUILD_TAG, value: ref, public: true } if tag
variables << { key: :CI_BUILD_TAG, value: ref, public: true } if tag?
variables << { key: :CI_BUILD_NAME, value: name, public: true }
variables << { key: :CI_BUILD_STAGE, value: stage, public: true }
variables << { key: :CI_BUILD_TRIGGERED, value: 'true', public: true } if trigger_request
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment