Skip to content

Commit 3712658

Browse files
committed
[skip-ci] more yaml fixes
1 parent a8b3c0d commit 3712658

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ jobs:
253253
- name: Check for RELEASE or PRE-RELEASE in commit message
254254
id: check_release
255255
run: |
256-
COMMIT_MESSAGE=$(git log -1 --pretty=%B)
256+
COMMIT_MESSAGE=$(git log -2 --pretty=%B)
257257
if echo "$COMMIT_MESSAGE" | grep -q "\[RELEASE\]"; then
258258
echo "create_release=true" >> $GITHUB_OUTPUT
259259
echo "is_prerelease=false" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)