Skip to content

Commit

Permalink
homebrew_formula_pullrequest: unique branch name (#1062)
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 17, 2023
1 parent 627b27d commit badf2e9
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 badf2e9

Please sign in to comment.