note: you can update the above script as per your requirement and make sure it's working fine with your CI/CD pipeline