Skip to content

Commit 5bd0654

Browse files
committed
.gitlab-ci.yml: Fix the issue that release job does not trigger.
Signed-off-by: lbuque <[email protected]>
1 parent 3ef7606 commit 5bd0654

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.gitlab-ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,11 @@ release_job:
6767
script:
6868
- echo "Releasing the M5Burn..."
6969
- python ./tools/release.py
70+
only:
71+
refs:
72+
- tags
73+
variables:
74+
- $CI_COMMIT_TAG =~ /^release\/[0-9]+\.[0-9]+\.[0-9]+$/
75+
- $CI_COMMIT_REF_SLUG == "develop_m5things"
7076
tags:
7177
- uiflow-firmware
72-
rules:
73-
- if: '$CI_COMMIT_TAG =~ /^release\/[0-9]+\.[0-9]+\.[0-9]+$/ && $CI_COMMIT_REF_SLUG == "develop_m5things"'

0 commit comments

Comments
 (0)