Skip to content

Commit 49ccaf2

Browse files
committedOct 27, 2024·
fix(gitlab-ci): Fix Git submodules not included in the release archive (take 2)
Signed-off-by: 林博仁(Buo-ren Lin) <[email protected]>
1 parent d356f89 commit 49ccaf2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

‎.gitlab-ci.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
#
88
# Copyright 2024 林博仁(Buo-ren Lin) <buo.ren.lin@gmail.com>
99
# SPDX-License-Identifier: CC-BY-SA-4.0
10+
variables:
11+
GIT_SUBMODULE_STRATEGY: recursive
12+
1013
do-static-analysis:
1114
stage: test
1215
rules:
@@ -46,8 +49,6 @@ upload-release-assets:
4649
stage: deploy
4750
rules:
4851
- if: $CI_COMMIT_TAG
49-
variables:
50-
GIT_SUBMODULE_STRATEGY: recursive
5152
needs:
5253
- generate-build-artifacts
5354
image: curlimages/curl:latest

0 commit comments

Comments
 (0)
Please sign in to comment.