Skip to content

Commit

Permalink
fix: debug build-app-on-ci.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
storytellerF committed Nov 9, 2024
1 parent 6cf2d71 commit c86c3f2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/build_scripts/build-app-on-ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ while IFS= read -r line; do
export "$key"="$value"
done < $TEMP_FILE

ls

echo $FLAVOR

./scripts/tool_scripts/modify-flavor.sh "$FLAVOR" "$IS_PROD"

./gradlew composeApp:build
Expand Down
3 changes: 3 additions & 0 deletions scripts/service_scripts/start-service-on-remote.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,7 @@ fi

echo "put $FILE /tmp/A/$FLAVOR.image.tar" | sftp -i "$REMOTE_CERT_FILE" -P 422 "$PUSH_TO_REMOTE_URI"

md=$(md5sum $FILE)
ssh -i "$REMOTE_CERT_FILE" -p 422 "$PUSH_TO_REMOTE_URI" "echo "d41d8cd98f00b204e9800998ecf8427e /tmp/A/$FLAVOR.image.tar" | md5sum -c -"

./scripts/tool_scripts/exec-until-success.sh ssh -i "$REMOTE_CERT_FILE" -p 422 "$PUSH_TO_REMOTE_URI" "$REMOTE_COMMAND"

0 comments on commit c86c3f2

Please sign in to comment.