Skip to content

Commit f2529f3

Browse files
committed
ci: fix project url used for version info
1 parent ebcce7d commit f2529f3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.gitlab-ci.yml

+6
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ before_script:
7676
git clone -b ${XTENSA_CLANG_TOOLCHAIN_BRANCH} ${GITLAB_SSH_SERVER}/${XTENSA_CLANG_TOOLCHAIN_REPO}
7777
cp -r xtensa-clang-toolchain/* .
7878

79+
# LLVM Build System used the remote address to show detailed version info, we'll change it to the public repository
80+
.fix_origin_remote_for_public: &fix_origin_remote_for_public |
81+
git remote set-url origin "${GH_REPO_HTTPS}"
82+
7983
# Pack the toolchain
8084
.package_toolchain: &package_toolchain |
8185
${ARCHIVE_TOOL} ${ARCHIVE_NAME} ${XTENSA_CLANG_TOOLCHAIN}/
@@ -92,6 +96,7 @@ build_clang_toolchain_linux:
9296
- PLATFORM_NAME=${PLATFORM_NAME_LINUX}
9397
- *get_release_name
9498
- *get_gcc_toolchain_linux
99+
- *fix_origin_remote_for_public
95100
- *get_clang_toolchain_build_scripts
96101
- ./build-toolchain-linux.sh ${XTENSA_CLANG_TOOLCHAIN}
97102
- *package_toolchain
@@ -105,6 +110,7 @@ build_clang_toolchain_win:
105110
- PLATFORM_NAME=${PLATFORM_NAME_WIN}
106111
- *get_release_name
107112
- *get_gcc_toolchain_win
113+
- *fix_origin_remote_for_public
108114
- *get_clang_toolchain_build_scripts
109115
- ./build-toolchain-win.sh ${XTENSA_CLANG_TOOLCHAIN}
110116
- *package_toolchain

0 commit comments

Comments
 (0)