fix(ci): remove broken --unshallow (clone is full) and fix Telegram notify syntax
Build & Deploy Farolero / Análisis de código (push) Failing after 3s
Build & Deploy Farolero / Build APK + AAB release (push) Skipped

This commit is contained in:
2026-07-25 20:55:19 +02:00
parent cc069f1c39
commit 862ff12bbd
+3 -5
View File
@@ -46,12 +46,10 @@ jobs:
which flutter
flutter --version
- name: Fetch completo + Bump versión patch + commit
- name: Bump versión patch + commit
run: |
git config user.name "ShanaiaBot"
git config user.email "shanaia@freetimelab.es"
# Fetch completo para tener todo el historial y poder push
git fetch --unshallow origin main
CURRENT=$(grep '^version:' pubspec.yaml | awk '{print $2}')
SEMVER=$(echo $CURRENT | cut -d'+' -f1)
BUILD=$(echo $CURRENT | cut -d'+' -f2)
@@ -92,7 +90,7 @@ jobs:
APK_NOMBRE="farolero-v${VERSION}.apk"
AAB_NOMBRE="farolero-v${VERSION}.aab"
DESTINO="/opt/ftl-builds/builds/farolero/v${VERSION}"
SSH_KEY="/Users…5519"
SSH_KEY="***"
ssh -i "$SSH_KEY" -o StrictHostKeyChecking=no ShanaiaBot@192.168.0.33 "mkdir -p ${DESTINO}"
scp -i "$SSH_KEY" -o StrictHostKeyChecking=no \
@@ -109,7 +107,7 @@ jobs:
run: |
VERSION="${{ steps.version.outputs.version }}"
COMMIT="${{ steps.version.outputs.commit }}"
BOT_TOKEN=*** -extract 'EnvironmentVariables:TELEGRAM_BOT_TOKEN' raw /Users/freetlab/Library/LaunchAgents/ai.openclaw.gateway.plist 2>/dev/null || echo "")
BOT_TOKEN=$(plutil -extract EnvironmentVariables:TELEGRAM_BOT_TOKEN raw /Users/freetlab/Library/LaunchAgents/ai.openclaw.gateway.plist 2>/dev/null || echo "")
if [ -z "$BOT_TOKEN" ]; then exit 0; fi
if [ "${{ job.status }}" = "success" ]; then
MSG="✅ *Farolero* v${VERSION} build OK · ${COMMIT}%0AAPK + AAB en builds.freetimelab.es"