title: I am looking to create script in Bamboo where Build should fail if one file is not updated for master branch but pass if it's feature branch
body: <p>I am looking to create script in Bamboo where Build should fail if one file is not updated for master branch but pass if it's feature branch.
  As a developer, I want the build plans to apply the correct policy to ABC file so that my builds will fail only when they should and pass otherwise.</p>
  
  <h1>!/bin/bash</h1>
  
  <p>date=$(stat -c %y)$1
  while true
           do date2=$(stat -c %y$1)
                  if (date2 != date)
                          echo "error!"
          done</p>