Compare commits
5
Commits
main
...
98b24d84cd
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
98b24d84cd | ||
|
|
72c5777508 | ||
|
|
b69041f32a | ||
|
|
9681a47e83 | ||
|
|
524b8f0035 |
@@ -237,11 +237,24 @@ jobs:
|
|||||||
- name: Build AAB release
|
- name: Build AAB release
|
||||||
run: flutter build appbundle --release
|
run: flutter build appbundle --release
|
||||||
|
|
||||||
|
# El nombre lleva RAMA y CÓDIGO DE VERSIÓN, no solo el semver.
|
||||||
|
#
|
||||||
|
# Antes, cada build de 1.3.0 se llamaba `pluriwave-v1.3.0.aab` y caía en
|
||||||
|
# la misma carpeta, así que main y PRO se pisaban y tres builds distintos
|
||||||
|
# eran indistinguibles una vez descargados: el navegador los guarda como
|
||||||
|
# "(1)", "(2)"... y ya no se sabe cuál es cuál. Eso costó subir a Play
|
||||||
|
# Console un código de versión ya usado, dos veces.
|
||||||
|
#
|
||||||
|
# Con `pluriwave-PRO-v1.3.0+156.aab` el archivo se identifica solo,
|
||||||
|
# incluso semanas después y fuera de este repo.
|
||||||
- name: Publicar en ftl-builds (Zimaboard)
|
- name: Publicar en ftl-builds (Zimaboard)
|
||||||
run: |
|
run: |
|
||||||
VERSION="${{ steps.version.outputs.version }}"
|
VERSION="${{ steps.version.outputs.version }}"
|
||||||
APK_NOMBRE="pluriwave-v${VERSION}.apk"
|
BUILD_NUMBER="${{ steps.version.outputs.build_number }}"
|
||||||
AAB_NOMBRE="pluriwave-v${VERSION}.aab"
|
BRANCH="${CURRENT_REF#refs/heads/}"
|
||||||
|
ETIQUETA="${BRANCH}-v${VERSION}+${BUILD_NUMBER}"
|
||||||
|
APK_NOMBRE="pluriwave-${ETIQUETA}.apk"
|
||||||
|
AAB_NOMBRE="pluriwave-${ETIQUETA}.aab"
|
||||||
DESTINO="/opt/ftl-builds/builds/pluriwave/v${VERSION}"
|
DESTINO="/opt/ftl-builds/builds/pluriwave/v${VERSION}"
|
||||||
SSH_KEY="/Users/freetlab/.openclaw/workspace/.secure/zimaboard_ed25519"
|
SSH_KEY="/Users/freetlab/.openclaw/workspace/.secure/zimaboard_ed25519"
|
||||||
|
|
||||||
@@ -252,8 +265,8 @@ jobs:
|
|||||||
scp -i "$SSH_KEY" -o StrictHostKeyChecking=no \
|
scp -i "$SSH_KEY" -o StrictHostKeyChecking=no \
|
||||||
build/app/outputs/bundle/release/app-release.aab \
|
build/app/outputs/bundle/release/app-release.aab \
|
||||||
"ShanaiaBot@192.168.0.33:${DESTINO}/${AAB_NOMBRE}"
|
"ShanaiaBot@192.168.0.33:${DESTINO}/${AAB_NOMBRE}"
|
||||||
echo "✅ APK: builds.freetimelab.es → pluriwave → v${VERSION}"
|
echo "✅ APK: builds.freetimelab.es → pluriwave → v${VERSION} → ${APK_NOMBRE}"
|
||||||
echo "✅ AAB: builds.freetimelab.es → pluriwave → v${VERSION}"
|
echo "✅ AAB: builds.freetimelab.es → pluriwave → v${VERSION} → ${AAB_NOMBRE}"
|
||||||
|
|
||||||
- name: Preparar credenciales de Google Play
|
- name: Preparar credenciales de Google Play
|
||||||
if: ${{ gitea.ref == 'refs/heads/PRO' }}
|
if: ${{ gitea.ref == 'refs/heads/PRO' }}
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
name: pluriwave
|
name: pluriwave
|
||||||
description: "Radio mundial con ecualizador, reconocimiento de canciones y UI premium"
|
description: "Radio mundial con ecualizador, reconocimiento de canciones y UI premium"
|
||||||
publish_to: 'none'
|
publish_to: 'none'
|
||||||
version: 1.3.2+155
|
version: 1.3.0+156
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ^3.7.0
|
sdk: ^3.7.0
|
||||||
|
|||||||
Reference in New Issue
Block a user