Commit 6e85cc32 authored by carlosperate's avatar carlosperate

Update pack script to get Circleci environmental variables for tag.

parent 59eb2d7a
...@@ -90,6 +90,7 @@ cef_debug.log ...@@ -90,6 +90,7 @@ cef_debug.log
/upload /upload
/releases /releases
/arduexec /arduexec
/arduexec.app
ardublockly_server_run.* ardublockly_server_run.*
ardublockly_run.* ardublockly_run.*
......
...@@ -105,6 +105,16 @@ def get_tag(): ...@@ -105,6 +105,16 @@ def get_tag():
if appveyor_tag: if appveyor_tag:
return "%s_%s" % (arch_time_stamp, appveyor_tag) return "%s_%s" % (arch_time_stamp, appveyor_tag)
# Check for Circle CI environmental variables to create tag appendage
print(script_tab + "Checking Circleci environment variables for tag:")
circleci_tag = tag_from_ci_env_vars(
ci_name="Circleci",
pull_request_var="CI_PULL_REQUEST",
branch_var="CIRCLE_BRANCH",
commit_var="CIRCLE_SHA1")
if circleci_tag:
return "%s_%s" % (arch_time_stamp, circleci_tag)
return arch_time_stamp return arch_time_stamp
......
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