Skip to content

Commit

Permalink
homebrew_formula_pullrequest: unique branch name
Browse files Browse the repository at this point in the history
Fixes #1020.

Signed-off-by: Steve Peters <[email protected]>
  • Loading branch information
scpeters authored Nov 9, 2023
1 parent d273cae commit 301ab6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jenkins-scripts/lib/homebrew_formula_pullrequest.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 301ab6b

Please sign in to comment.