mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
actions debugging
This commit is contained in:
parent
08ec028e0f
commit
5108e41ef5
@ -6,7 +6,8 @@ GIT_RELEASE_BOT_NAME=${GIT_RELEASE_BOT_NAME:?GIT_RELEASE_BOT_NAME must be provid
|
||||
GITHUB_SHA=${GITHUB_SHA:?GITHUB_SHA must be provided}
|
||||
|
||||
# avoid the release loop by checking if the latest commit is a release commit
|
||||
readonly local last_release_commit_hash=$(git log --pretty=format:"%H" -1)
|
||||
readonly local last_release_commit_hash=$(git log --grep='\[maven-release-plugin\] prepare release' --pretty=format:"%H" -1)
|
||||
|
||||
echo "Last $GIT_RELEASE_BOT_NAME commit: ${last_release_commit_hash}"
|
||||
echo "Current commit: ${GITHUB_SHA}"
|
||||
if [[ "${last_release_commit_hash}" = "${GITHUB_SHA}" ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user