Skip to content

Commit

Permalink
Merge pull request #10 from Genymobile/dev/fix-custom-user-agent
Browse files Browse the repository at this point in the history
Set custom user agent as an enviroment variable
  • Loading branch information
thomascarpentier committed Jun 30, 2020
2 parents 3a24825 + 727bd66 commit 9685a34
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bitrise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ app:
envs:
# If you want to share this step into a StepLib
- BITRISE_STEP_ID: genymotion-cloud-saas-start
- BITRISE_STEP_VERSION: "0.1.2"
- BITRISE_STEP_VERSION: "0.1.3"
- BITRISE_STEP_GIT_CLONE_URL: https://github.com/genymobile/bitrise-step-genymotion-cloud-saas-start.git
- MY_STEPLIB_REPO_FORK_GIT_URL: [email protected]:Genymobile/bitrise-steplib.git
# Define these in your .bitrise.secrets.yml
Expand Down
3 changes: 3 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ func ensureGMSAASisInstalled() error {
} else {
log.Infof("gmsaas is already installed : %s", path)
}

// Set Custom user agent to improve customer support
os.Setenv("GMSAAS_USER_AGENT_EXTRA_DATA", "bitrise.io")
return nil
}

Expand Down

0 comments on commit 9685a34

Please sign in to comment.