alfresco-content-app/scripts/ci/jobs/check-link-adf.sh
MichalKinas 5ac0ff616d
[ACA-4625] ADF linking in ACA (#2841)
* [ACA-4625] ADF linking in ACA

* [ACA-4625] ADF linking docs

* [ACA-4625] Move adf linking to before install script

* [ACA-4625] Move ADF linking to before_install script

* [ACA-4625] Delete unused stage from Travis
2022-12-15 12:55:25 +01:00

6 lines
256 B
Bash
Executable File

#!/usr/bin/env bash
BRANCH=`echo $COMMIT_MESSAGE | grep -o "\[link-adf\:[^]]*\]" | sed -e 's#\[link-adf:##g' | sed -e 's#\]##g'`
echo -e "\e[31mPRs are not mergeable with conditional build. This build was run with custom ADF branch: $BRANCH \e[0m"
exit 1