title: Bash script successfully executes locally but not in Azure Devops pipeline
body: <p>I have a bash script that executes successfully in my local environment:</p>
  <pre class="lang-sh prettyprint-override"><code>#!/bin/bash
  #build changelog
  
  version=&quot;Version: &quot;
  current_date=`date`
  cat &lt;(printf &quot; \n&quot;) &lt;(echo $version $env:BUILD_BUILDNUMBER $current_date) &lt;(tail -n+6 pr-changelog.md) ./CHANGELOG.md &gt; output 
  mv output ./CHANGELOG.md
  </code></pre>
  <p>However using the the Bash build package in my Azure Devops pipeline, whilst the script succeeds, does not throw any errors and the pipeline completes, the changes in the script do not take place.</p>
  <p>The script copies lines from one file to the <code>CHANGELOG.md</code> and a couple of other small things. Locally the text is copied, but after running the pipeline, the <code>CHANGELOG.md</code> file has not changed in my branch.</p>
  <p>Can I expect this to work and if not, what further steps should I take?</p>
  <p>TIA</p>