title: bash-scripting error on Microsoft AppCenter for pre-build script
body: <p>I am having issues with the pre-build script on appcenter. Appcenter uses bash for the pre-build scripts. I want to change "qa.api" to "beta.api" in my api.js file.</p>
  
  <p>I tried the following but it does not seem to work:</p>
  
  <pre><code>#!/usr/bin/env bash
  if [ "$APPCENTER_BRANCH" != "master" ];
  then
      cd App/Services/
      echo "changing QA API to Production API (beta)"
      sed -i 's/qa.api/beta.api/g' Api.js
  fi
  </code></pre>
  
  <p>So I simplified it but it still does not work:</p>
  
  <pre><code>#!/usr/bin/env bash
  cd App/Services/
  sed -i 's/qa.api/beta.api/g' Api.js`
  </code></pre>
  
  <p>Any ideas?</p>