Skip to content

Commit d2d73da

Browse files
committed
fix(jumpserver): always refetch Lina and Luna sources on update
Their source trees are removed after building, so a matching version marker would skip the fetch and leave the build step without sources.
1 parent d09af48 commit d2d73da

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎ct/jumpserver.sh‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,10 @@ function update_script() {
115115

116116
NODE_VERSION="24" NODE_MODULE="corepack" setup_nodejs
117117

118+
# Lina and Luna sources are deleted after each build, so their version
119+
# markers must not let the fetch be skipped
120+
rm -f ~/.lina ~/.luna
121+
118122
CLEAN_INSTALL=1 fetch_and_deploy_gh_tag "lina" "jumpserver/lina" "$JMS_TAG" "/opt/lina-src"
119123

120124
msg_info "Building Lina"

0 commit comments

Comments
 (0)