Skip to content

Commit 6ec3502

Browse files
[release] [minor] fix release action
Co-authored by SockworkOrange
1 parent ba169bb commit 6ec3502

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/release.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ on:
1212
workflows: [CI]
1313
types: [completed]
1414
branches: [main]
15-
15+
push:
16+
branches: [ "small-fix-to-release" ]
17+
1618
jobs:
1719
check_commit:
1820
name: Check Commit
@@ -27,13 +29,14 @@ jobs:
2729
- name: Check latest commit message
2830
id: check_msg
2931
run: |
32+
set -ex
3033
LATEST_COMMIT_MSG=$(git log -1 --pretty=%B | cat)
3134
3235
if [[ ${LATEST_COMMIT_MSG} == *"[release]"* ]]; then
3336
echo "release message found - continuing with the release"
3437
IS_RELEASE="true"
3538
else
36-
echo "release message found - skipping..."
39+
echo "no release message found - skipping..."
3740
IS_RELEASE="false"
3841
fi
3942

0 commit comments

Comments
 (0)