From 301ab6b61d5792673a435a06bfc2bfcac8853f75 Mon Sep 17 00:00:00 2001 From: Steve Peters Date: Thu, 9 Nov 2023 10:58:19 -0800 Subject: [PATCH] homebrew_formula_pullrequest: unique branch name Fixes #1020. Signed-off-by: Steve Peters --- jenkins-scripts/lib/homebrew_formula_pullrequest.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jenkins-scripts/lib/homebrew_formula_pullrequest.bash b/jenkins-scripts/lib/homebrew_formula_pullrequest.bash index 0256f8eed..fa345e62a 100644 --- a/jenkins-scripts/lib/homebrew_formula_pullrequest.bash +++ b/jenkins-scripts/lib/homebrew_formula_pullrequest.bash @@ -108,6 +108,6 @@ if [ "$FORMULA_REVISION" -gt 0 ]; then fi # create branch with name and sanitized version string -PULL_REQUEST_BRANCH="${PACKAGE_ALIAS}_`echo ${VERSION_SANITIZED} | tr ' ~:^?*[' '_'`" +PULL_REQUEST_BRANCH="${PACKAGE_ALIAS}_$(echo ${VERSION_SANITIZED} | tr ' ~:^?*[' '_')_$(date +%s)" . ${SCRIPT_LIBDIR}/_homebrew_github_commit.bash